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
37589154
"vscode:/vscode.git/clone" did not exist on "8672cad2cbe9b31d82e54223d0f4815ffe426cee"
Commit
37589154
authored
Nov 20, 2017
by
Sunhwan Jo
Browse files
make nbfix test using only the unique atom types
parent
504d9c71
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
wrappers/python/simtk/openmm/app/gromacstopfile.py
wrappers/python/simtk/openmm/app/gromacstopfile.py
+1
-2
No files found.
wrappers/python/simtk/openmm/app/gromacstopfile.py
View file @
37589154
...
@@ -675,8 +675,7 @@ class GromacsTopFile(object):
...
@@ -675,8 +675,7 @@ class GromacsTopFile(object):
for
_
in
range
(
moleculeCount
):
for
_
in
range
(
moleculeCount
):
for
atom
in
moleculeType
.
atoms
:
for
atom
in
moleculeType
.
atoms
:
atom_types
.
append
(
atom
[
1
])
atom_types
.
append
(
atom
[
1
])
has_nbfix_terms
=
any
([
pair
in
self
.
_nonbondTypes
for
pair
in
combinations
(
sorted
(
atom_types
),
2
)])
has_nbfix_terms
=
any
([
pair
in
self
.
_nonbondTypes
for
pair
in
combinations
(
sorted
(
set
(
atom_types
)),
2
)])
has_nbfix_terms
=
True
if
has_nbfix_terms
:
if
has_nbfix_terms
:
# Build a lookup table and angle/dihedral indices list to
# Build a lookup table and angle/dihedral indices list to
...
...
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