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
18253db9
"plugins/vscode:/vscode.git/clone" did not exist on "923ccea5a02448c8ac27413d154a09e000ecab4c"
Commit
18253db9
authored
Aug 18, 2016
by
Rafal P. Wiewiora
Browse files
fix
parent
6412e52f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/openmm/app/forcefield.py
wrappers/python/simtk/openmm/app/forcefield.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/forcefield.py
View file @
18253db9
...
@@ -1941,7 +1941,7 @@ class PeriodicTorsionGenerator(object):
...
@@ -1941,7 +1941,7 @@ class PeriodicTorsionGenerator(object):
(
a2
,
a4
)
=
(
a4
,
a2
)
(
a2
,
a4
)
=
(
a4
,
a2
)
r2
=
data
.
atoms
[
a2
].
residue
.
index
r2
=
data
.
atoms
[
a2
].
residue
.
index
r4
=
data
.
atoms
[
a4
].
residue
.
index
r4
=
data
.
atoms
[
a4
].
residue
.
index
ta
3
=
data
.
atomTemplateIndexes
[
data
.
atoms
[
a3
]]
ta
2
=
data
.
atomTemplateIndexes
[
data
.
atoms
[
a3
]]
ta4
=
data
.
atomTemplateIndexes
[
data
.
atoms
[
a4
]]
ta4
=
data
.
atomTemplateIndexes
[
data
.
atoms
[
a4
]]
if
t3
[
0
]
==
t4
[
0
]
and
(
r3
>
r4
or
(
r3
==
r4
and
ta3
>
ta4
)):
if
t3
[
0
]
==
t4
[
0
]
and
(
r3
>
r4
or
(
r3
==
r4
and
ta3
>
ta4
)):
(
a3
,
a4
)
=
(
a4
,
a3
)
(
a3
,
a4
)
=
(
a4
,
a3
)
...
...
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