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
ad113a0c
Unverified
Commit
ad113a0c
authored
Aug 13, 2021
by
Peter Eastman
Committed by
GitHub
Aug 13, 2021
Browse files
Fixed an error in condensing LJ types in CharmmPsfFile (#3210)
parent
94057ffb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/openmm/app/charmmpsffile.py
wrappers/python/openmm/app/charmmpsffile.py
+1
-1
No files found.
wrappers/python/openmm/app/charmmpsffile.py
View file @
ad113a0c
...
...
@@ -1248,7 +1248,7 @@ class CharmmPsfFile(object):
if
lj_idx_list
[
j
]
>
0
:
continue
# already assigned
if
atom2
is
atom
:
lj_idx_list
[
j
]
=
num_lj_types
elif
not
atom
.
nbfix
and
not
atom
.
nbthole
:
elif
not
atom
.
nbfix
and
not
atom
.
nbthole
and
not
atom2
.
nbfix
and
not
atom2
.
nbthole
:
# Only non-NBFIXed and non-NBTholed atom types can be compressed
ljtype2
=
(
atom2
.
rmin
,
atom2
.
epsilon
)
if
ljtype
==
ljtype2
:
...
...
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