From dd7001a89a775b0b8daeaaa26b237b965b6ade61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Blesio?= <48755986+gblesio@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:11:13 +0200 Subject: [PATCH] Update sumk_dft_transport.py Allow calc_inverse_mass for both basis --- python/triqs_dft_tools/sumk_dft_transport.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/triqs_dft_tools/sumk_dft_transport.py b/python/triqs_dft_tools/sumk_dft_transport.py index 48cffdc7..16523a7c 100644 --- a/python/triqs_dft_tools/sumk_dft_transport.py +++ b/python/triqs_dft_tools/sumk_dft_transport.py @@ -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}')