Skip to content

Commit

Permalink
Make the choice of "accession" on the config level
Browse files Browse the repository at this point in the history
Don't set defaults when retrieving strain_id_field so "accession" is
only set on the config level.
  • Loading branch information
victorlin committed Sep 14, 2023
1 parent 10bca60 commit 2c192fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/snakemake_rules/core.smk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rule wrangle_metadata:
output:
metadata="data/{a_or_b}/metadata_by_accession.tsv",
params:
strain_id=config.get("strain_id_field", "strain"),
strain_id=config["strain_id_field"],
shell:
"""
python3 scripts/wrangle_metadata.py --metadata {input.metadata} \
Expand Down

0 comments on commit 2c192fa

Please sign in to comment.