Commit 6c4ed548 authored by Peter Eastman's avatar Peter Eastman
Browse files

Merge branch 'master' of https://github.com/peastman/openmm

parents 1f4c5c53 bafc4ede
......@@ -180,7 +180,7 @@ class PdbStructure(object):
self.sequences.append(Sequence(chain_id))
self.sequences[-1].residues.extend(pdb_line[19:].split())
elif (pdb_line.find("MODRES") == 0):
self.modified_residues.append(ModifiedResidue(pdb_line[16], int(pdb_line[18:22]), pdb_line[12:15], pdb_line[24:27]))
self.modified_residues.append(ModifiedResidue(pdb_line[16], int(pdb_line[18:22]), pdb_line[12:15].strip(), pdb_line[24:27].strip()))
self._finalize()
def write(self, output_stream=sys.stdout):
......
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