Skip to content

Commit a086a49

Browse files
committed
fetch-and-ingest: Add Snakemake --stats output
Adding as part of #240 to help collect more data for tackling #446. One unexpected behavior that I ran into when testing the `--stats` option is that Snakemake doesn't generate the stats file if the workflow exits with an error at any step. Note that the Snakemake `--stats` option is not available starting with Snakemake v8, so this will need to be removed when we eventually upgrade Snakemake in our runtimes.
1 parent de35468 commit a086a49

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/fetch-and-ingest-genbank-master.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,6 @@ jobs:
108108
--env SLACK_CHANNELS \
109109
--env PAT_GITHUB_DISPATCH="$GH_TOKEN_NEXTSTRAIN_BOT_WORKFLOW_DISPATCH" \
110110
. \
111+
--stats snakemake_stats.json \
111112
--configfile config/genbank.yaml \
112113
$CONFIG_OVERRIDES

.github/workflows/fetch-and-ingest-gisaid-master.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,6 @@ jobs:
109109
--env SLACK_CHANNELS \
110110
--env PAT_GITHUB_DISPATCH="$GH_TOKEN_NEXTSTRAIN_BOT_WORKFLOW_DISPATCH" \
111111
. \
112+
--stats snakemake_stats.json \
112113
--configfile config/gisaid.yaml \
113114
$CONFIG_OVERRIDES

0 commit comments

Comments
 (0)