Commit 3685f2f3 authored by Peter Eastman's avatar Peter Eastman
Browse files

Bug fix

parent bd8c49de
...@@ -91,7 +91,7 @@ class AmberPrmtopFile(object): ...@@ -91,7 +91,7 @@ class AmberPrmtopFile(object):
ff.HBonds:'h-bonds', ff.HBonds:'h-bonds',
ff.AllBonds:'all-bonds', ff.AllBonds:'all-bonds',
ff.HAngles:'h-angles'} ff.HAngles:'h-angles'}
if constraints == ff.NoConstraints: if constraints is None:
constraintString = None constraintString = None
elif constraints in constraintMap: elif constraints in constraintMap:
constraintString = constraintMap[constraints] constraintString = constraintMap[constraints]
......
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