"platforms/vscode:/vscode.git/clone" did not exist on "b6e65ad64d399b7b6eacd06d0433d59b1f710b2c"
Commit 94ac0e3c authored by Jason Swails's avatar Jason Swails
Browse files

Fix comments.

parent 400b2a24
...@@ -471,8 +471,8 @@ class CharmmParameterSet(object): ...@@ -471,8 +471,8 @@ class CharmmParameterSet(object):
except IndexError: except IndexError:
raise CharmmFileError('Could not parse NBFIX terms.') raise CharmmFileError('Could not parse NBFIX terms.')
self.nbfix_types[(min(at1, at2), max(at1, at2))] = (emin, rmin) self.nbfix_types[(min(at1, at2), max(at1, at2))] = (emin, rmin)
# Now we're done. Load the nonbonded types into the relevant AtomType # If there were any CMAP terms stored in the parameter set, the last one
# instances. In order for this to work, all keys in nonbonded_types # defined will not have been added to the set. Add it now.
if current_cmap is not None: if current_cmap is not None:
ty = CmapType(current_cmap_res, current_cmap_data) ty = CmapType(current_cmap_res, current_cmap_data)
self.cmap_types[current_cmap] = ty self.cmap_types[current_cmap] = ty
......
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