Commit 0af25daf authored by Jason Swails's avatar Jason Swails
Browse files

Small tweak to fix parsing of par_all36_carb.prm ... not sure why this file is

different from _all_ of the others.
parent ba5e21ff
...@@ -241,6 +241,10 @@ class CharmmParameterSet(object): ...@@ -241,6 +241,10 @@ class CharmmParameterSet(object):
if line.startswith('HBOND'): if line.startswith('HBOND'):
section = None section = None
continue continue
# It seems like files? sections? can be terminated with 'END'
if line.startswith('END'): # should this be case-insensitive?
section = None
continue
# If we have no section, skip # If we have no section, skip
if section is None: continue if section is None: continue
# Now handle each section specifically # Now handle each section specifically
......
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