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 Oct 9, 2023
1 parent 8d29fb7 commit 0e95163
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 0e95163

Please sign in to comment.