Skip to content

Commit d5a5150

Browse files
committed
ensure default_htex uses container when asked for
1 parent e8497a9 commit d5a5150

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

psiflow/execution.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class ExecutionContextLoader:
197197
def parse_config(yaml_dict: dict):
198198
definitions = []
199199

200-
container_dict = yaml_dict.pop("container", None)
200+
container_dict = yaml_dict.get("container", None)
201201
for name in ["ModelEvaluation", "ModelTraining", "ReferenceEvaluation"]:
202202
if name in yaml_dict:
203203
_dict = yaml_dict.pop(name)
@@ -277,6 +277,7 @@ def parse_config(yaml_dict: dict):
277277
"default_threads": 1,
278278
"mode": "htex",
279279
"htex_address": address_by_hostname(),
280+
"container": None,
280281
}
281282
forced = {
282283
"initialize_logging": False, # manual; to move parsl.log one level up

0 commit comments

Comments
 (0)