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
2b2c98c0
Commit
2b2c98c0
authored
Mar 06, 2018
by
Sunhwan Jo
Browse files
provide error description
parent
0db10f6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
wrappers/python/simtk/openmm/app/gromacstopfile.py
wrappers/python/simtk/openmm/app/gromacstopfile.py
+2
-8
No files found.
wrappers/python/simtk/openmm/app/gromacstopfile.py
View file @
2b2c98c0
...
...
@@ -889,11 +889,8 @@ class GromacsTopFile(object):
q
=
float
(
params
[
4
])
if
has_nbfix_terms
:
# when NBFIX term is found, add all possible nonbond atom pairs explicitly
if
self
.
_defaults
[
1
]
!=
'2'
:
# CHARMM parameters are compatible with the Lorentz-Berthelot combination
# rule (type 2) and we will stick with that for simplicity.
raise
NotImplemented
raise
NotImplemented
(
'NBFIX terms with LB combination rule is not yet supported'
)
nb
.
addParticle
(
q
,
1.0
,
0.0
)
atom_charges
.
append
(
q
)
else
:
...
...
@@ -1056,11 +1053,8 @@ class GromacsTopFile(object):
lj
.
setCutoffDistance
(
nonbondedCutoff
)
if
has_nbfix_terms
:
# when NBFIX term is found, add all possible nonbond atom pairs explicitly
if
self
.
_defaults
[
1
]
!=
'2'
:
# CHARMM parameters are compatible with the Lorentz-Berthelot combination
# rule (type 2) and we will stick with that for simplicity.
raise
NotImplemented
raise
NotImplemented
(
'NBFIX terms with LB combination rule is not yet supported'
)
atom_nbfix_types
=
set
([])
for
pair
in
self
.
_nonbondTypes
:
...
...
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