Skip to content

Commit

Permalink
Relax tolerance for test
Browse files Browse the repository at this point in the history
IMP on macOS arm64 reports slightly different values
for chi^2 of our test system, so allow a little more
variation.
  • Loading branch information
benmwebb committed Aug 20, 2024
1 parent 66755a6 commit 6a1cf17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/foxs/test/test_saxs.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_simple_cif_multimodel(self):

m = re.search(r'6lyz_m2.cif.*Chi\^2\s+=\s+([\d\.]+)\r?', out)
self.assertIsNotNone(m, msg="Chi output not found in " + str(out))
self.assertAlmostEqual(float(m.group(1)), 149.67, delta=0.01)
self.assertAlmostEqual(float(m.group(1)), 149.65, delta=0.03)

m = re.search(r'6lyz_m3.cif.*Chi\^2\s+=\s+([\d\.]+)\r?', out)
self.assertIsNotNone(m, msg="Chi output not found in " + str(out))
Expand Down

0 comments on commit 6a1cf17

Please sign in to comment.