Skip to content

Commit

Permalink
ensure default_htex uses container when asked for
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Feb 15, 2024
1 parent d5a5150 commit 61dc109
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions psiflow/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,9 @@ def load(
executors.append(executor)

# create default executors
if "container" in psiflow_config:
launcher = ContainerizedLauncher(**psiflow_config.pop("container"))
container_dict = psiflow_config.get("container", None)
if container_dict is not None:
launcher = ContainerizedLauncher(**container_dict)
else:
launcher = SimpleLauncher()
htex = HighThroughputExecutor(
Expand Down

0 comments on commit 61dc109

Please sign in to comment.