Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
ParmEd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ATB-Dependencies
ParmEd
Commits
c7e1a2ac
Commit
c7e1a2ac
authored
Mar 01, 2016
by
Jason Swails
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #625 from jchodera/master
Don't add self exceptions to bond graph exceptions
parents
18467384
12355fad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
topsystem.py
parmed/openmm/topsystem.py
+4
-2
No files found.
parmed/openmm/topsystem.py
View file @
c7e1a2ac
...
...
@@ -392,10 +392,12 @@ def _process_nonbonded(struct, force):
bond_graph_exceptions
=
defaultdict
(
set
)
for
atom
in
struct
.
atoms
:
for
a2
in
atom
.
bond_partners
:
bond_graph_exceptions
[
atom
]
.
add
(
a2
)
if
atom
is
not
a2
:
bond_graph_exceptions
[
atom
]
.
add
(
a2
)
for
a3
in
a2
.
bond_partners
:
if
a3
is
atom
:
continue
bond_graph_exceptions
[
atom
]
.
add
(
a3
)
if
atom
is
not
a3
:
bond_graph_exceptions
[
atom
]
.
add
(
a3
)
# TODO should we compress exception types?
for
ii
in
range
(
force
.
getNumExceptions
()):
...
...
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