Commit 68eb50bd authored by peastman's avatar peastman
Browse files

Fixed test case

parent ff4c490e
...@@ -80,7 +80,7 @@ class TestPdbFile(unittest.TestCase): ...@@ -80,7 +80,7 @@ class TestPdbFile(unittest.TestCase):
output = StringIO() output = StringIO()
PDBFile.writeFile(pdb.topology, pdb.positions, output) PDBFile.writeFile(pdb.topology, pdb.positions, output)
input = StringIO(output.getvalue()) input = StringIO(output.getvalue())
pdb = PDBFile(input, extraParticleIdentifier = '') pdb = PDBFile(input)
for atom in pdb.topology.atoms(): for atom in pdb.topology.atoms():
if atom.index > 2: if atom.index > 2:
self.assertEqual(None, atom.element) self.assertEqual(None, atom.element)
......
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