From 3046bf9c52cdd506b69a2f3759700966a1e9c363 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 14 Sep 2023 13:38:06 -0700 Subject: [PATCH] Conditionally include upload rule This change allows the workflow to run when `s3_dst` is not defined, since the upload rule requires it to be defined. --- ingest/Snakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ingest/Snakefile b/ingest/Snakefile index 63d6972..001cb7f 100644 --- a/ingest/Snakefile +++ b/ingest/Snakefile @@ -47,6 +47,7 @@ include: "workflow/snakemake_rules/fetch_sequences.smk" include: "workflow/snakemake_rules/transform.smk" -include: "workflow/snakemake_rules/upload.smk" +if "s3_dst" in config: + include: "workflow/snakemake_rules/upload.smk" include: "workflow/snakemake_rules/sort.smk"