Skip to content

Commit 6f06875

Browse files
committed
remove l flag and add slurmqos
1 parent bf54401 commit 6f06875

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BALSAMIC/models/sbatchsubmitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _build_sbatch_header(self) -> str:
6565
- optional partition if `self.headjob_partition` is set
6666
"""
6767
lines = [
68-
"#!/bin/bash -l",
68+
"#!/bin/bash",
6969
f"#SBATCH --account={self.account}",
7070
f"#SBATCH --job-name=BALSAMIC_snakemake_submit.{self.case_id}.%j",
7171
f"#SBATCH --output={self.log_path}/BALSAMIC_snakemake_submit.{self.case_id}.%j.out",

BALSAMIC/models/snakemake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def get_command(self) -> str:
137137

138138
def get_slurm_job_arguments(self) -> str:
139139
return (
140-
f'--default-resources slurm_extra="--qos={self.qos}" '
140+
f'--default-resources --slurm-qos {self.qos}" '
141141
f"slurm_partition={self.workflow_partition} slurm_account={self.account}"
142142
)
143143

0 commit comments

Comments
 (0)