Skip to content

Commit

Permalink
relax test atol
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Oct 30, 2024
1 parent 01cab67 commit 4459ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prody/tests/dynamics/test_anmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def testResults(self):

ens1.setCoords(ens1.getCoordsets()[2])
assert_allclose(ens1.getRMSDs(), ENSEMBLE.getRMSDs(),
rtol=1e-10, atol=0.1, # may not be so close
rtol=1e-10, atol=0.2, # may not be so close
err_msg='runANMD with default parameters failed to give expected RMSDs')

def testResultsNumModes1(self):
Expand All @@ -80,7 +80,7 @@ def testResultsNumModes1(self):

ens1.setCoords(ens1.getCoordsets()[2])
assert_allclose(ens1.getRMSDs(), ENSEMBLE.getRMSDs(),
rtol=1e-10, atol=0.1, # may not be so close
rtol=1e-10, atol=0.2, # may not be so close
err_msg='runANMD with num_modes=1 failed to give expected RMSDs')

if __name__ == '__main__':
Expand Down

0 comments on commit 4459ac9

Please sign in to comment.