Commit dc59aff1 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed missing variable error.

parent 34041b66
......@@ -615,6 +615,7 @@ class VasprunContext(object):
pass
def onStart_calculation(self, parser, event, element, pathStr):
backend = parser.backend
gIndexes = parser.tagSections[pathStr]
self.singleConfCalcs.append(
gIndexes["section_single_configuration_calculation"])
......@@ -822,7 +823,7 @@ class VasprunContext(object):
converter = metaTypeTransformers.get(dtypeStr)
if not converter:
backend.pwarn(
"could not find converter for dtypeStr %s when handling meta info %s" % (dtypeStr, ))
"could not find converter for dtypeStr %s when handling meta info %s" % (dtypeStr, meta))
elif shape:
vals = re.split("\s+", el.text.strip())
backend.addValue(
......
Supports Markdown
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