Skip to content

Commit faba588

Browse files
committed
bugfix
1 parent 208252a commit faba588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psiflow/execution.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def parse_config(yaml_dict: dict):
246246
provider_dict = _dict.pop(provider_keys[0])
247247

248248
# if provider requests multiple nodes, switch to (containerized) SrunLauncher
249-
if provider_dict.pop("nodes_per_block", 1) > 1:
249+
if provider_dict.get("nodes_per_block", 1) > 1:
250250
assert (
251251
provider_keys[0] == "SlurmProvider"
252252
), "multi-node blocks only supported for SLURM"

0 commit comments

Comments
 (0)