From ed5081f1b8d6415b4535ce10895a4b47b4be1792 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Tue, 1 Aug 2023 11:51:38 +0200 Subject: [PATCH] Fix: Typo in sh_lines for slurm --- slate/slate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slate/slate.py b/slate/slate.py index 6f2d20a..a6a556c 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -223,7 +223,7 @@ class Slate(): sh_lines += self.consume(slurmC, 'sh_lines', []) if venv := self.consume(slurmC, 'venv', False): sh_lines += [f'source activate {venv}'] - sh_lines += [f'python3 {python_script} {filename} {name} -t $SLURM_ARRAY_TASK_ID --sweet_id {self.sweep_id}'] + sh_lines += [f'python3 {python_script} {filename} {name} -t $SLURM_ARRAY_TASK_ID --sweep_id {self.sweep_id}'] script = "\n".join(sh_lines) num_jobs = self._calc_num_jobs(schedC, num_conv_versions)