Skip to content
Snippets Groups Projects
Commit 81bba2f8 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

relax msms unit test

parent eb2b2204
No related branches found
No related tags found
No related merge requests found
......@@ -29,15 +29,15 @@ class TestMSMSBindings(unittest.TestCase):
msms_env='MSMSSERVER',
density=3,
radius=1.4)
self.assertEqual(self.ases, msms_ases[0])
self.assertEqual(self.asas, msms_asas[0])
self.assertAlmostEqual(self.ases, msms_ases[0], 1)
self.assertAlmostEqual(self.asas, msms_asas[0], 1)
def testCalculateSurfaceVolume(self):
volume=msms.CalculateSurfaceVolume(self.protein, \
msms_env='MSMSSERVER',
density=3,
radius=1.4)
self.assertEqual(self.volume, volume)
self.assertAlmostEqual(self.volume, volume, 1)
if __name__ == "__main__":
# test if msms package is available on system, otherwise ignore tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment