Skip to content

Commit

Permalink
Update sumk_dft_transport.py
Browse files Browse the repository at this point in the history
Allow calc_inverse_mass for both basis
  • Loading branch information
gblesio authored and the-hampel committed Aug 13, 2024
1 parent bea609b commit 8da15bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/triqs_dft_tools/sumk_dft_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
Expand Down

0 comments on commit 8da15bb

Please sign in to comment.