fix: build script suing newlines

This commit is contained in:
Dominik Moritz Roth 2023-07-07 12:38:07 +02:00
parent a663d7e9d4
commit a8374d864c

View File

@ -152,7 +152,7 @@ class Slate():
if venv := self.consume(slurmC, 'venv', False):
sh_lines += [f'source activate {venv}']
sh_lines += [f'python3 {python_script} {filename} {name} -j $SLURM_ARRAY_TASK_ID']
script = " && ".join(sh_lines)
script = "\n".join(sh_lines)
num_jobs = 1