Skip to content

Commit

Permalink
Merge pull request #1577 from drroe/fixrandomizeionstest
Browse files Browse the repository at this point in the history
Fix randomizeions test
  • Loading branch information
drroe authored Mar 15, 2021
2 parents 8e22a68 + 13d229c commit 3d844a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_analysis/test_randomize_ions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_randomize_ions(self):
tn = os.path.join(cpptraj_test_dir, 'Test_RandomizeIons',
'adh206.ff10.tip3p.parm7.gz')
saved_traj_name = os.path.join(cpptraj_test_dir, 'Test_RandomizeIons',
'random.crd.save')
'around.overlap.rst7.save')
# Set default RNG back to Marsaglia
pt.set_default_rng(0)
traj = pt.iterload(fn, tn)
Expand All @@ -29,7 +29,7 @@ def test_randomize_ions(self):
around=':1-16',
by=5.0,
overlap=3.0,
seed=113698)
seed=1)
aa_eq(traj_mut.xyz, saved_traj.xyz, decimal=2)


Expand Down

0 comments on commit 3d844a4

Please sign in to comment.