3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 00:15:00 +02:00

BUGFIX: changed character in QE output for reading occupations with

negative k vector
This commit is contained in:
acarta 2022-03-01 14:51:37 +01:00
parent b12eebdf1b
commit f30d14fbd1

View File

@ -1006,7 +1006,7 @@ class Wannier90Converter(ConverterTools):
if line.strip() == 'End of band structure calculation':
break
assert 'k = ' in out_data[ct + 2], 'Cannot read occupations. Set verbosity = "high" in {}'.format(out_filename)
assert 'k =' in out_data[ct + 2], 'Cannot read occupations. Set verbosity = "high" in {}'.format(out_filename)
out_data = out_data[ct+2:]
# block size of eigenvalues + occupations per k-point