Skip to content

Commit

Permalink
fix: missing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Jan 10, 2025
1 parent 3f36f86 commit 2b50601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake_executor_plugin_slurm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2b50601

Please sign in to comment.