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
b3eaa5ef
Commit
b3eaa5ef
authored
Nov 18, 2014
by
Jason Swails
Browse files
== -> in
parent
67cd9e18
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/internal/amber_file_parser.py
...ers/python/simtk/openmm/app/internal/amber_file_parser.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/internal/amber_file_parser.py
View file @
b3eaa5ef
...
@@ -720,7 +720,7 @@ def readAmberSystem(prmtop_filename=None, prmtop_loader=None, shake=None, gbmode
...
@@ -720,7 +720,7 @@ def readAmberSystem(prmtop_filename=None, prmtop_loader=None, shake=None, gbmode
system
.
addParticle
(
mass
)
system
.
addParticle
(
mass
)
# Add constraints.
# Add constraints.
isWater
=
[
prmtop
.
getResidueLabel
(
i
)
==
(
'WAT'
,
'TP4'
,
'TP5'
,
'T4E'
)
for
i
in
range
(
prmtop
.
getNumAtoms
())]
isWater
=
[
prmtop
.
getResidueLabel
(
i
)
in
(
'WAT'
,
'TP4'
,
'TP5'
,
'T4E'
)
for
i
in
range
(
prmtop
.
getNumAtoms
())]
if
shake
in
(
'h-bonds'
,
'all-bonds'
,
'h-angles'
):
if
shake
in
(
'h-bonds'
,
'all-bonds'
,
'h-angles'
):
for
(
iAtom
,
jAtom
,
k
,
rMin
)
in
prmtop
.
getBondsWithH
():
for
(
iAtom
,
jAtom
,
k
,
rMin
)
in
prmtop
.
getBondsWithH
():
system
.
addConstraint
(
iAtom
,
jAtom
,
rMin
)
system
.
addConstraint
(
iAtom
,
jAtom
,
rMin
)
...
...
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