Skip to content
Snippets Groups Projects
Commit bc40fe9f authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

always output k point list and weights

parent 615671f3
Branches
Tags
No related merge requests found
......@@ -374,8 +374,10 @@ class VasprunContext(object):
name = el.attrib.get("name", None)
if name == "kpointlist":
self.kpoints = np.asarray(getVector(el))
backend.addArrayValues("k_mesh_points", self.kpoints)
elif name == "weights":
self.weights = np.asarray(getVector(el))
backend.addArrayValues("k_mesh_weights", self.weights)
else:
backend.pwarn("Unknown array %s in kpoints" % name)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment