Commit a3c657e0 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

quick fix for eigenvalues

eigenvalues_kpoints looks strange, is it correct?
parent 05116df7
......@@ -77,12 +77,10 @@ def parse(filename):
p.addValue('smearing_kind', 'fermi')
c(r.FermiWidth, 'hartree'))
with o(p, 'section_eigenvalues_group'):
for eps_kn, occ_kn in zip(r.Eigenvalues, r.OccupationNumbers):
with o(p, 'section_eigenvalues'):
c(eps_kn, 'hartree'))
p.addArrayValues('eigenvalues_occupation', occ_kn)
c(r.Eigenvalues, 'hartree'))
p.addArrayValues('eigenvalues_occupation', r.OccupationNumbers)
p.addArrayValues('eigenvalues_kpoints', r.IBZKPoints)
p.finishedParsingSession("ParseSuccess", None)
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