From d36c292af7fec25854e8076d4d5db2233e067cf1 Mon Sep 17 00:00:00 2001 From: Jover Lee Date: Tue, 18 Aug 2026 13:00:58 -0700 Subject: [PATCH] Improve curl command Improve curl command so that network errors are correctly surfaced in the workflow. Prompted by CI failure with unexpected error, where the root cause was a network error that caused the clades download to fail. --- workflow/snakemake_rules/clades.smk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/snakemake_rules/clades.smk b/workflow/snakemake_rules/clades.smk index 53aee03..8feadda 100644 --- a/workflow/snakemake_rules/clades.smk +++ b/workflow/snakemake_rules/clades.smk @@ -91,5 +91,5 @@ rule download_clades: r""" exec &> >(tee {log:q}) - curl {params.url} --output {output.clades} + curl -fsSL {params.url} --output {output.clades} """