Fix: Typo in sh_lines for slurm

This commit is contained in:
Dominik Moritz Roth 2023-08-01 11:51:38 +02:00
parent ee83a3be52
commit ed5081f1b8

View File

@ -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)