From d7732fa3040c7cc1f33f4dd6724269c6671fdc1f Mon Sep 17 00:00:00 2001 From: Alexander Hampel Date: Mon, 20 May 2024 13:56:19 -0400 Subject: [PATCH] move imports closer to gw_converter functions --- python/solid_dmft/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/solid_dmft/main.py b/python/solid_dmft/main.py index b556cc66..23663838 100644 --- a/python/solid_dmft/main.py +++ b/python/solid_dmft/main.py @@ -47,7 +47,6 @@ # own modules from solid_dmft.dmft_cycle import dmft_cycle from solid_dmft.csc_flow import csc_flow_control -from solid_dmft.gw_embedding.gw_flow import embedding_driver from solid_dmft.io_tools import postproc_toml_dict, verify_input_params def run_dmft(params, config_file_name=None): @@ -95,6 +94,7 @@ def run_dmft(params, config_file_name=None): general_params['jobname'] = '.' csc_flow_control(general_params, solver_params, dft_params, advanced_params) elif general_params['gw_embedding']: + from solid_dmft.gw_embedding.gw_flow import embedding_driver if mpi.is_master_node(): # Creates output directory if it does not exist if not os.path.exists(general_params['jobname']):