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
6aea38c9
Commit
6aea38c9
authored
Feb 29, 2016
by
pgrinaway
Browse files
make clearer
parent
405607e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrappers/python/simtk/openmm/app/forcefield.py
wrappers/python/simtk/openmm/app/forcefield.py
+2
-2
No files found.
wrappers/python/simtk/openmm/app/forcefield.py
View file @
6aea38c9
...
@@ -856,13 +856,13 @@ class ForceField(object):
...
@@ -856,13 +856,13 @@ class ForceField(object):
uniquePropers
=
set
()
uniquePropers
=
set
()
for
angle
in
data
.
angles
:
for
angle
in
data
.
angles
:
for
atom
in
bondedToAtom
[
angle
[
0
]]:
for
atom
in
bondedToAtom
[
angle
[
0
]]:
if
atom
!=
angle
[
1
]
and
atom
!=
angle
[
2
]
:
if
atom
not
in
angle
:
if
atom
<
angle
[
2
]:
if
atom
<
angle
[
2
]:
uniquePropers
.
add
((
atom
,
angle
[
0
],
angle
[
1
],
angle
[
2
]))
uniquePropers
.
add
((
atom
,
angle
[
0
],
angle
[
1
],
angle
[
2
]))
else
:
else
:
uniquePropers
.
add
((
angle
[
2
],
angle
[
1
],
angle
[
0
],
atom
))
uniquePropers
.
add
((
angle
[
2
],
angle
[
1
],
angle
[
0
],
atom
))
for
atom
in
bondedToAtom
[
angle
[
2
]]:
for
atom
in
bondedToAtom
[
angle
[
2
]]:
if
atom
!=
angle
[
1
]
and
atom
!=
angle
[
0
]
:
if
atom
not
in
angle
:
if
atom
>
angle
[
0
]:
if
atom
>
angle
[
0
]:
uniquePropers
.
add
((
angle
[
0
],
angle
[
1
],
angle
[
2
],
atom
))
uniquePropers
.
add
((
angle
[
0
],
angle
[
1
],
angle
[
2
],
atom
))
else
:
else
:
...
...
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