Skip to content

Commit

Permalink
fix: attempt fixing linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Feb 29, 2024
1 parent b36cbd3 commit 6bf11dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snakemake_executor_plugin_slurm_jobstep/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ def run_job(self, job: JobExecutorInterface):
# limit the number of cpus to the number of threads.
cpus = min(self.cpus_per_task, job.threads)

call = f"srun -n1 --cpu-bind=q --cpus-per-task {cpus} {self.format_job_exec(job)}"
call = "srun -n1 --cpu-bind=q "
call += f"--cpus-per-task {cpus} "
call += f"{self.format_job_exec(job)}"

self.logger.debug(job.is_group())
self.logger.debug(call)
Expand Down

0 comments on commit 6bf11dd

Please sign in to comment.