mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
Update sumk_dft_transport.py
Allow calc_inverse_mass for both basis
This commit is contained in:
parent
90c4dfc72b
commit
d1f1716f2c
@ -536,7 +536,6 @@ def init_spectroscopy(sum_k, code='wien2k', w90_params={}):
|
|||||||
oc_select = 'both'
|
oc_select = 'both'
|
||||||
# further checks for calc_inverse_mass
|
# further checks for calc_inverse_mass
|
||||||
if 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"'
|
assert oc_select == 'both', '"oc_select" not implemented for "calc_inverse_mass"'
|
||||||
# print some information
|
# print some information
|
||||||
mpi.report(f'{"Basis choice [h (Hamiltonian), w (Wannier)]:":<60s} {oc_basis}')
|
mpi.report(f'{"Basis choice [h (Hamiltonian), w (Wannier)]:":<60s} {oc_basis}')
|
||||||
|
Loading…
Reference in New Issue
Block a user