Commit ae0ad5c9 authored by jchodera's avatar jchodera
Browse files

Fix typo in test.

parent 15d1b5fc
......@@ -441,7 +441,7 @@ class TestForceField(unittest.TestCase):
# Get list of matching residue templates.
templates = forcefield.getMatchingTemplates(pdb.topology)
# Check results.
residues = [ residue for residue in topology.residues() ]
residues = [ residue for residue in pdb.topology.residues() ]
self.assertEqual(len(templates), len(residues))
self.assertEqual(unmatched_residues[0].name, 'NALA')
self.assertEqual(unmatched_residues[1].name, 'ALA')
......
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