Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
7dd882eb
Commit
7dd882eb
authored
Aug 19, 2013
by
peastman
Browse files
Merge pull request #114 from rmcgibbo/modeller-context
del the context after its use in addHydrogens
parents
8f9f824e
f36b8080
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
wrappers/python/simtk/openmm/app/modeller.py
wrappers/python/simtk/openmm/app/modeller.py
+1
-0
No files found.
wrappers/python/simtk/openmm/app/modeller.py
View file @
7dd882eb
...
@@ -769,6 +769,7 @@ class Modeller(object):
...
@@ -769,6 +769,7 @@ class Modeller(object):
LocalEnergyMinimizer
.
minimize
(
context
)
LocalEnergyMinimizer
.
minimize
(
context
)
self
.
topology
=
newTopology
self
.
topology
=
newTopology
self
.
positions
=
context
.
getState
(
getPositions
=
True
).
getPositions
()
self
.
positions
=
context
.
getState
(
getPositions
=
True
).
getPositions
()
del
context
return
actualVariants
return
actualVariants
def
addExtraParticles
(
self
,
forcefield
):
def
addExtraParticles
(
self
,
forcefield
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment