"vscode:/vscode.git/clone" did not exist on "7e8acdf753007483097ae807eef691fcffe88dee"
Commit 2b2c98c0 authored by Sunhwan Jo's avatar Sunhwan Jo
Browse files

provide error description

parent 0db10f6c
...@@ -889,11 +889,8 @@ class GromacsTopFile(object): ...@@ -889,11 +889,8 @@ class GromacsTopFile(object):
q = float(params[4]) q = float(params[4])
if has_nbfix_terms: if has_nbfix_terms:
# when NBFIX term is found, add all possible nonbond atom pairs explicitly
if self._defaults[1] != '2': if self._defaults[1] != '2':
# CHARMM parameters are compatible with the Lorentz-Berthelot combination raise NotImplemented('NBFIX terms with LB combination rule is not yet supported')
# rule (type 2) and we will stick with that for simplicity.
raise NotImplemented
nb.addParticle(q, 1.0, 0.0) nb.addParticle(q, 1.0, 0.0)
atom_charges.append(q) atom_charges.append(q)
else: else:
...@@ -1056,11 +1053,8 @@ class GromacsTopFile(object): ...@@ -1056,11 +1053,8 @@ class GromacsTopFile(object):
lj.setCutoffDistance(nonbondedCutoff) lj.setCutoffDistance(nonbondedCutoff)
if has_nbfix_terms: if has_nbfix_terms:
# when NBFIX term is found, add all possible nonbond atom pairs explicitly
if self._defaults[1] != '2': if self._defaults[1] != '2':
# CHARMM parameters are compatible with the Lorentz-Berthelot combination raise NotImplemented('NBFIX terms with LB combination rule is not yet supported')
# rule (type 2) and we will stick with that for simplicity.
raise NotImplemented
atom_nbfix_types = set([]) atom_nbfix_types = set([])
for pair in self._nonbondTypes: for pair in self._nonbondTypes:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment