3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 08:24:54 +02: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':
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:]
# block size of eigenvalues + occupations per k-point