3
0
mirror of https://github.com/triqs/dft_tools synced 2024-08-06 12:30:00 +02:00

Merge pull request #206 from Lidra1/unstable

BUGFIX: negative k vectors in QE nscf.out
This commit is contained in:
Alexander Hampel 2022-03-01 12:51:39 -05:00 committed by GitHub
commit 7d934429d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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