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

Fix import

parent ce70fa17
......@@ -261,7 +261,8 @@ class TestForceField(unittest.TestCase):
from uuid import uuid4
template_name = uuid4()
# Create residue template.
template = ForceField._createResidueTemplate(residue) # use helper function
from simtk.openmm.app.forcefield import _createResidueTemplate
template = _createResidueTemplate(residue) # use helper function
template.name = template_name # replace template name
for (template_atom, residue_atom) in zip(template.atoms, residue.atoms()):
template_atom.type = 'XXX' # replace atom type
......
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