Commit 4aa8df6d authored by Rafal P. Wiewiora's avatar Rafal P. Wiewiora
Browse files

add check for type name in overload

parent 476e820b
......@@ -618,6 +618,7 @@ class TestForceField(unittest.TestCase):
self.assertRaises(Exception, lambda: ForceField(StringIO(ffxml1), StringIO(ffxml2)))
ff = ForceField(StringIO(ffxml1), StringIO(ffxml3))
self.assertEqual(ff._templates['FE2'].atoms[0].type, 'Fe2+_tip3p_standard')
ff.createSystem(pdb.topology)
class AmoebaTestForceField(unittest.TestCase):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment