Skip to content

Commit

Permalink
Merge pull request #223 from nextstrain/fix-ingest
Browse files Browse the repository at this point in the history
Fix ingest uploads
  • Loading branch information
joverlee521 authored Nov 15, 2023
2 parents ed4a15c + c682887 commit 0ba58eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingest/workflow/snakemake_rules/upload.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ba58eb

Please sign in to comment.