Commit 2cc1516c by peastman

Fixed code that was broken by changes to OpenMM

parent b81a9e42
...@@ -1112,7 +1112,7 @@ class PDBFixer(object): ...@@ -1112,7 +1112,7 @@ class PDBFixer(object):
sigma = radii[element.symbol] sigma = radii[element.symbol]
else: else:
sigma = 0.5 sigma = 0.5
nonbonded.typeMap[typeName] = (0.0, sigma, 0.0) nonbonded.registerAtom({'type':typeName, 'charge':'0', 'sigma':str(sigma), 'epsilon':'0'})
indexInResidue[atom.index] = len(template.atoms) indexInResidue[atom.index] = len(template.atoms)
template.atoms.append(app.ForceField._TemplateAtomData(atom.name, typeName, element)) template.atoms.append(app.ForceField._TemplateAtomData(atom.name, typeName, element))
for atom in residue.atoms(): for atom in residue.atoms():
......
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