3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 11:13:46 +01:00

Update sumk_dft_transport.py

Allow calc_inverse_mass for both basis
This commit is contained in:
Germán Blesio 2023-10-09 17:11:13 +02:00 committed by Alexander Hampel
parent 90c4dfc72b
commit d1f1716f2c

View File

@ -536,7 +536,6 @@ def init_spectroscopy(sum_k, code='wien2k', w90_params={}):
oc_select = 'both'
# further checks for calc_inverse_mass
if calc_inverse_mass:
assert oc_basis == 'h', '"calc_inverse_mass" only implemented for "oc_basis" == "h"'
assert oc_select == 'both', '"oc_select" not implemented for "calc_inverse_mass"'
# print some information
mpi.report(f'{"Basis choice [h (Hamiltonian), w (Wannier)]:":<60s} {oc_basis}')