diff --git a/snakemake_executor_plugin_slurm/__init__.py b/snakemake_executor_plugin_slurm/__init__.py index 1a2e3d5..7d54b6c 100644 --- a/snakemake_executor_plugin_slurm/__init__.py +++ b/snakemake_executor_plugin_slurm/__init__.py @@ -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)