diff --git a/slate/slate.py b/slate/slate.py index 6de5e34..b0c422e 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -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