diff --git a/ingest/workflow/snakemake_rules/upload.smk b/ingest/workflow/snakemake_rules/upload.smk index 60c5c9b7..a5270ffe 100644 --- a/ingest/workflow/snakemake_rules/upload.smk +++ b/ingest/workflow/snakemake_rules/upload.smk @@ -35,9 +35,9 @@ def _get_upload_inputs(wildcards): if send_notifications: flag_file = [] - if file_to_upload == "data/genbank.ndjson": + if inputs["file_to_upload"] == "data/genbank.ndjson": flag_file = "data/notify/genbank-record-change.done" - elif file_to_upload == "results/metadata.tsv": + elif inputs["file_to_upload"] == "results/metadata.tsv": flag_file = "data/notify/metadata-diff.done" inputs["notify_flag_file"] = flag_file