Commit 8776a0bc authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Removed unnecessary fermi level for DOS.

parent 1a0c8cb0
......@@ -842,9 +842,8 @@ class VasprunContext(object):
if el.tag == "i":
if el.attrib.get("name") == "efermi":
self.eFermi = eV2J(float(el.text.strip()))
backend.addValue("dos_fermi_energy", self.eFermi)
backend.addArrayValues(
"energy_reference_fermi", np.array([self.eFermi]*self.ispin))
"energy_reference_fermi", np.array([self.eFermi] * self.ispin))
else:
backend.pwarn("unexpected tag %s %s in dos" %
(el.tag, el.attrib))
......
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