From 420e42ce9fcbb942b61bed7c5ae07e7fcb6a3e52 Mon Sep 17 00:00:00 2001 From: Mauricio Cespedes <65789733+mcespedes99@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:28:59 -0400 Subject: [PATCH] Dependencies update Update on how dependecies are managed --- {{cookiecutter.profile_name}}/slurm-submit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/{{cookiecutter.profile_name}}/slurm-submit.py b/{{cookiecutter.profile_name}}/slurm-submit.py index be9d12b..7a8b199 100755 --- a/{{cookiecutter.profile_name}}/slurm-submit.py +++ b/{{cookiecutter.profile_name}}/slurm-submit.py @@ -69,10 +69,9 @@ cmdline.append(slurm_args) if dependencies: - cmdline.append("--dependency") # only keep numbers in dependencies list dependencies = [ x for x in dependencies if x.isdigit() ] - cmdline.append("afterok:" + ",".join(dependencies)) + cmdline.append("--dependency=afterok:" + ",".join(dependencies)) cmdline.append(jobscript)