Skip to content

Commit

Permalink
move imports closer to gw_converter functions
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed May 20, 2024
1 parent 13fb7ea commit d7732fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/solid_dmft/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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']):
Expand Down

0 comments on commit d7732fa

Please sign in to comment.