Commit 2abbcf49 by Peter Eastman

Apply substitutions to added residues

parent aac559c1
......@@ -320,7 +320,10 @@ class PDBFixer(object):
key = (topChain.index, index)
if key not in self.missingResidues:
self.missingResidues[key] = []
self.missingResidues[key].append(sequence[i])
residueName = sequence[i]
if residueName in substitutions:
residueName = substitutions[sequence[i]]
self.missingResidues[key].append(residueName)
else:
index += 1
......
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