Commit f6aa12ab authored by eric pellegrini's avatar eric pellegrini
Browse files

Bug fix in DL_POLY converter when guessing element from sitnam

parent 3ce2c6a1
......@@ -134,10 +134,9 @@ class FieldFile(dict):
while 1:
if ELEMENTS.has_element(element):
element = sitnam[:-1]
element = element[:-1]
if not element:
element = sitnam
raise FieldFileError("Could not define any element from %r" % sitnam)
nrept = int(vals[2])
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