Commit 6e4654fa authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed adding INCARs with no metainfo to the backend.

parent 5f07d80f
......@@ -344,6 +344,7 @@ class VasprunContext(object):
if not meta:
backend.pwarn("Unknown INCAR parameter (not registered in the meta data): %s %s %r" % (
el.tag, el.attrib, el.text))
continue
#- -
vector_val = np.asarray(getVector(el))
backend.addArrayValues(meta.get('name'), vector_val)
......
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