From 2b5060127a2985a373641498e1c89cb1f358147d Mon Sep 17 00:00:00 2001 From: Christian Meesters Date: Fri, 10 Jan 2025 12:33:05 +0100 Subject: [PATCH] fix: missing colon --- snakemake_executor_plugin_slurm/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snakemake_executor_plugin_slurm/__init__.py b/snakemake_executor_plugin_slurm/__init__.py index 1d60361..cc779a6 100644 --- a/snakemake_executor_plugin_slurm/__init__.py +++ b/snakemake_executor_plugin_slurm/__init__.py @@ -294,7 +294,7 @@ def run_job(self, job: JobExecutorInterface): gpu_job = job.resources.get("gpus") or "gpu" in job.resources.get("gres", "") if gpu_job: call += f" --ntasks-per-gpu={job.resources.get('tasks', 1)}" - else + else: call += f" --ntasks={job.resources.get('tasks', 1)}" # MPI job if job.resources.get("mpi", False):