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
5bfd7337
"...ssh:/git@developer.sourcefind.cn:2222/tsoc/openmm.git" did not exist on "ffab317bca41be3c319fd53595c4133500cae235"
Commit
5bfd7337
authored
Nov 18, 2014
by
peastman
Browse files
Merge pull request #734 from swails/fixep
Fixep
parents
a0cdc1f7
b3eaa5ef
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 @
5bfd7337
...
@@ -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'
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