From 657df8a4b19ab946ec32e42e65d81771e56798e1 Mon Sep 17 00:00:00 2001 From: Jover Date: Thu, 7 Sep 2023 13:13:00 -0700 Subject: [PATCH] Add build dir for notify-on-job-start ncov-ingest is the only repo where the ingest pipeline is in a separate repository than the phylogenetic workflow. Therefore, the build dir that should be sent with the onstart Slack message is the current directory instead of the default "ingest" directory. --- Snakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snakefile b/Snakefile index d8e527ac..f7479877 100644 --- a/Snakefile +++ b/Snakefile @@ -92,7 +92,7 @@ onstart: print(f"\t${{{var}}}: " + ("YES" if os.environ.get(var, "") else "NO") + f"({description})") if send_notifications: message="🥗 GISAID ingest" if database=="gisaid" else "🥣 GenBank ingest" - shell(f"./vendored/notify-on-job-start \"{message}\" nextstrain/ncov-ingest") + shell(f"./vendored/notify-on-job-start \"{message}\" nextstrain/ncov-ingest '.'") onsuccess: message = "✅ This pipeline has successfully finished 🎉"