Skip to content

Commit

Permalink
fix: remove wildcards where unnecessary
Browse files Browse the repository at this point in the history
Since config variables are consistent across all serotypes, wildcards are unnecessary.

Co-authored-by: Thomas Sibley <tom@zulutango.org>
  • Loading branch information
2 people authored and j23414 committed Apr 18, 2023
1 parent d9d2ba5 commit 07045a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ rule wrangle_metadata:
output:
metadata="results/wrangled_metadata_{serotype}.tsv",
params:
strain_id=lambda w: config.get("strain_id_field", "strain"), #accession
strain_id=config.get("strain_id_field", "strain"), #accession
shell:
"""
csvtk -t rename -f strain -n strain_original {input.metadata} \
Expand Down Expand Up @@ -313,7 +313,7 @@ rule final_strain_name:
auspice_json="auspice/dengue_{serotype}.json",
root_sequence="auspice/dengue_{serotype}_root-sequence.json",
params:
display_strain_field=lambda w: config.get("display_strain_field", "strain"),
display_strain_field=config.get("display_strain_field", "strain"),
shell:
"""
python3 bin/set_final_strain_name.py \
Expand Down

0 comments on commit 07045a4

Please sign in to comment.