Open gjenness opened 11 years ago
This is available in pymatgen-2.7.10b. One can do:
from pymatgen.io.vaspio.vasp_output import Vasprun
output = Vasprun('vasprun.xml')
band_struct = output.get_band_structure(kpoints_filename='KPOINTS')
evbm = band_struct.get_vbm()
Then we can write it to the metadata file easily enough.
Not sure how this issue relates to #323
If the Fermi level in VASP is not equal to the VBM in VASP, then we need to use the VBM instead of the Fermi level.
Is PyMatGen able to parse this out?