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
d8be3efd
Commit
d8be3efd
authored
Sep 08, 2014
by
peastman
Browse files
Bug fix to addExtraParticles()
parent
4c815965
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/openmm/app/modeller.py
wrappers/python/simtk/openmm/app/modeller.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/modeller.py
View file @
d8be3efd
...
@@ -922,7 +922,7 @@ class Modeller(object):
...
@@ -922,7 +922,7 @@ class Modeller(object):
# Record the corresponding atoms.
# Record the corresponding atoms.
matchingAtoms
=
{}
matchingAtoms
=
{}
for
atom
,
match
in
zip
(
residueNoEP
.
atoms
(),
matches
):
for
atom
,
match
in
zip
(
residueNoEP
.
atoms
(),
matches
):
templateAtomName
=
t
.
atoms
[
match
].
name
templateAtomName
=
t
emplatesNoEP
[
t
]
.
atoms
[
match
].
name
for
templateAtom
in
template
.
atoms
:
for
templateAtom
in
template
.
atoms
:
if
templateAtom
.
name
==
templateAtomName
:
if
templateAtom
.
name
==
templateAtomName
:
matchingAtoms
[
templateAtom
]
=
atom
matchingAtoms
[
templateAtom
]
=
atom
...
...
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