Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
fgvieira authored Jan 10, 2024
1 parent 9f073c1 commit 1eb40d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snakemake_executor_plugin_slurm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def run_job(self, job: JobExecutorInterface):
# generic part of a submission string:
# we use a run_uuid as the job-name, to allow `--name`-based
# filtering in the job status checks (`sacct --name` and `squeue --name`)
call = f"sbatch --job-name {self.run_uuid} --output {slurm_logfile} --export=ALL --comment {job.name}"
call = f"sbatch --job-name {self.run_uuid} --output {slurm_logfile} --export=ALL "
f"--comment {job.name}"

call += self.get_account_arg(job)
call += self.get_partition_arg(job)
Expand Down

0 comments on commit 1eb40d1

Please sign in to comment.