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
55ee0b9f
Commit
55ee0b9f
authored
Mar 24, 2017
by
peastman
Committed by
GitHub
Mar 24, 2017
Browse files
Merge pull request #1767 from peastman/drudeexclusion
Fixed error with exclusions for Drude particles
parents
9f6bd494
b0c82b88
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 @
55ee0b9f
...
@@ -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