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
b0c82b88
Commit
b0c82b88
authored
Mar 23, 2017
by
peastman
Browse files
Fixed error with exclusions for Drude particles
parent
88da682c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
wrappers/python/simtk/openmm/app/forcefield.py
wrappers/python/simtk/openmm/app/forcefield.py
+3
-0
No files found.
wrappers/python/simtk/openmm/app/forcefield.py
View file @
b0c82b88
...
@@ -1271,6 +1271,9 @@ def _findBondsForExclusions(data, sys):
...
@@ -1271,6 +1271,9 @@ def _findBondsForExclusions(data, sys):
bondIndices
.
append
((
child1
,
child2
))
bondIndices
.
append
((
child1
,
child2
))
for
child2
in
data
.
excludeAtomWith
[
atom2
]:
for
child2
in
data
.
excludeAtomWith
[
atom2
]:
bondIndices
.
append
((
atom1
,
child2
))
bondIndices
.
append
((
atom1
,
child2
))
for
atom
in
data
.
atoms
:
for
child
in
data
.
excludeAtomWith
[
atom
.
index
]:
bondIndices
.
append
((
child
,
atom
.
index
))
return
bondIndices
return
bondIndices
def
_countResidueAtoms
(
elements
):
def
_countResidueAtoms
(
elements
):
...
...
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