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
4f437591
Commit
4f437591
authored
Oct 17, 2019
by
peastman
Browse files
Fixed range error when adding lone pairs from PSF file
parent
ecae836c
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/charmmpsffile.py
wrappers/python/simtk/openmm/app/charmmpsffile.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/charmmpsffile.py
View file @
4f437591
...
@@ -934,7 +934,7 @@ class CharmmPsfFile(object):
...
@@ -934,7 +934,7 @@ class CharmmPsfFile(object):
atom1
=
lpsite
[
1
]
atom1
=
lpsite
[
1
]
atom2
=
lpsite
[
2
]
atom2
=
lpsite
[
2
]
atom3
=
lpsite
[
3
]
atom3
=
lpsite
[
3
]
if
atom3
>
0
:
if
atom3
>
=
0
:
if
lpsite
[
4
]
>
0
:
# relative lonepair type
if
lpsite
[
4
]
>
0
:
# relative lonepair type
r
=
lpsite
[
4
]
/
10.0
# in nanometer
r
=
lpsite
[
4
]
/
10.0
# in nanometer
xweights
=
[
-
1.0
,
0.0
,
1.0
]
xweights
=
[
-
1.0
,
0.0
,
1.0
]
...
...
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