Commit 4f352019 authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Suppress PDB warnings about duplicate atom names.

parent dd432501
......@@ -390,7 +390,7 @@ class TestForceField(unittest.TestCase):
unmatched_residues = forcefield.getUnmatchedResidues(pdb.topology)
unique_unmatched_residues = forcefield.getUniqueUnmatchedResidues(pdb.topology)
# Check results.
self.assertEqual(len(unmatched_residues), 14)
self.assertEqual(len(unmatched_residues), 24)
self.assertEqual(len(unique_unmatched_residues), 2)
unique_names = set([ residue.name for residue in unique_unmatched_residues ])
self.assertTrue('NA' in unique_names)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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