Skip to content

Commit 9988992

Browse files
committed
Merge remote-tracking branch 'origin/internal_resource_dict' into internal_resource_dict
2 parents d08ebf0 + 10655ef commit 9988992

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

executorlib/interactive/executor.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ def create_executor(
220220
resource_dict["hostname_localhost"] = hostname_localhost
221221
if backend == "flux":
222222
check_oversubscribe(oversubscribe=resource_dict["openmpi_oversubscribe"])
223-
check_command_line_argument_lst(command_line_argument_lst=resource_dict["slurm_cmd_args"])
223+
check_command_line_argument_lst(
224+
command_line_argument_lst=resource_dict["slurm_cmd_args"]
225+
)
224226
del resource_dict["openmpi_oversubscribe"]
225227
del resource_dict["slurm_cmd_args"]
226228
resource_dict["flux_executor"] = flux_executor
@@ -260,7 +262,9 @@ def create_executor(
260262
check_nested_flux_executor(nested_flux_executor=flux_executor_nesting)
261263
check_threads_per_core(threads_per_core=resource_dict["threads_per_core"])
262264
check_gpus_per_worker(gpus_per_worker=resource_dict["gpus_per_worker"])
263-
check_command_line_argument_lst(command_line_argument_lst=resource_dict["slurm_cmd_args"])
265+
check_command_line_argument_lst(
266+
command_line_argument_lst=resource_dict["slurm_cmd_args"]
267+
)
264268
del resource_dict["threads_per_core"]
265269
del resource_dict["gpus_per_worker"]
266270
del resource_dict["slurm_cmd_args"]

0 commit comments

Comments
 (0)