Commit 7e0bd506 authored by Rafal P. Wiewiora's avatar Rafal P. Wiewiora
Browse files

correction

parent 4f66c0c6
...@@ -322,7 +322,7 @@ class ForceField(object): ...@@ -322,7 +322,7 @@ class ForceField(object):
types.append(self._atomClasses[attrib[classAttrib]]) types.append(self._atomClasses[attrib[classAttrib]])
elif typeAttrib in attrib: elif typeAttrib in attrib:
if attrib[typeAttrib] == '': if attrib[typeAttrib] == '':
types.append(self._atomClasses['']): types.append(self._atomClasses[''])
elif attrib[typeAttrib] not in self._atomTypes: elif attrib[typeAttrib] not in self._atomTypes:
types.append(None) # Unknown atom type types.append(None) # Unknown atom type
else: else:
......
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