fix: build script suing newlines
This commit is contained in:
parent
a663d7e9d4
commit
a8374d864c
@ -152,7 +152,7 @@ class Slate():
|
|||||||
if venv := self.consume(slurmC, 'venv', False):
|
if venv := self.consume(slurmC, 'venv', False):
|
||||||
sh_lines += [f'source activate {venv}']
|
sh_lines += [f'source activate {venv}']
|
||||||
sh_lines += [f'python3 {python_script} {filename} {name} -j $SLURM_ARRAY_TASK_ID']
|
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
|
num_jobs = 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user