3
0
mirror of https://github.com/triqs/dft_tools synced 2025-02-16 22:54:19 +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 GitHub
parent 8d29fb77fb
commit 0e951639e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -540,7 +540,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}')