"...ssh:/git@developer.sourcefind.cn:2222/tsoc/openmm.git" did not exist on "ce8d6a2d9e87e2c7d26b61c43fe68b0458943d53"
Commit 681f601b authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed bug that caused some TOP files to fail

parent 0307a0db
...@@ -576,7 +576,7 @@ class GromacsTopFile(object): ...@@ -576,7 +576,7 @@ class GromacsTopFile(object):
dihedralType = fields[4] dihedralType = fields[4]
reversedTypes = types[::-1]+(dihedralType,) reversedTypes = types[::-1]+(dihedralType,)
types = types+(dihedralType,) types = types+(dihedralType,)
if (dihedralType in ('1', '2') and len(fields) > 7) or (dihedralType == '3' and len(fields) > 10): if (dihedralType in ('1', '2', '4', '9') and len(fields) > 7) or (dihedralType == '3' and len(fields) > 10):
paramsList = [fields] paramsList = [fields]
else: else:
# Look for a matching dihedral type. # Look for a matching dihedral type.
......
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