3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 20:34:38 +01:00

BUGFIX: changed character in QE output for reading occupations with

Co-authored-by: alberto-carta
This commit is contained in:
Alexander Hampel 2022-04-15 10:55:16 -04:00
parent 0b72ad7fce
commit fd90cc9c63

View File

@ -860,7 +860,7 @@ def read_misc_input(w90_seed, n_spin_blocks, n_k):
if line.strip() == 'End of band structure calculation': if line.strip() == 'End of band structure calculation':
break break
assert 'k = ' in out_data[ct + 2], 'Cannot read occupations. Set verbosity = "high" in {}'.format(nscf_filename) assert 'k =' in out_data[ct + 2], 'Cannot read occupations. Set verbosity = "high" in {}'.format(nscf_filename)
out_data = out_data[ct+2:] out_data = out_data[ct+2:]
# block size of eigenvalues + occupations per k-point # block size of eigenvalues + occupations per k-point