Commit 36230f7d authored by Stephen Constable's avatar Stephen Constable
Browse files

Mea culpa

This was changed to help debug my development.  I have now returned it
to the original behavior.
parent aafb9267
......@@ -264,8 +264,7 @@ class GromacsTopFile(object):
fields.append(1.0)
fields.append(1.0)
else:
print len(fields)
raise ValueError('Too few fields in [ defaults ] line: '+len(fields))
raise ValueError('Too few fields in [ defaults ] line: '+line)
if fields[0] != '1':
raise ValueError('Unsupported nonbonded type: '+fields[0])
if not (fields[1] == '2' or fields[1] == '1'):
......
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