We've been using a custom automatic retry for rules that fail occasionally during fetching of online resources since the workflow was still a bash script.¹
When the workflow was converted a Snakemake workflow, Snakemake did not have rule specific retries yet.²
The latest GISAID ingest failed³ due to an error in run_shell_command_n_times, so I figured it's time to loop back and replace it with the built-it Snakemake retries directive that has been available since v7.7.0.
Description of proposed changes
We've been using a custom automatic retry for rules that fail occasionally during fetching of online resources since the workflow was still a bash script.¹
When the workflow was converted a Snakemake workflow, Snakemake did not have rule specific retries yet.²
The latest GISAID ingest failed³ due to an error in
run_shell_command_n_times
, so I figured it's time to loop back and replace it with the built-it Snakemakeretries
directive that has been available since v7.7.0.¹ https://github.com/nextstrain/ncov-ingest/commit/75ee3921137f879a94d6996f73770a77727408af ² https://github.com/nextstrain/ncov-ingest/pull/231/files#r758769573 ³ https://bedfordlab.slack.com/archives/CTZKJC7PZ/p1706908574251489?thread_ts=1706905060.565059&cid=CTZKJC7PZ
Related issue(s)
Checklist