Commit 7dd882eb authored by peastman's avatar peastman
Browse files

Merge pull request #114 from rmcgibbo/modeller-context

del the context after its use in addHydrogens
parents 8f9f824e f36b8080
......@@ -769,6 +769,7 @@ class Modeller(object):
LocalEnergyMinimizer.minimize(context)
self.topology = newTopology
self.positions = context.getState(getPositions=True).getPositions()
del context
return actualVariants
def addExtraParticles(self, forcefield):
......
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