Skip to content

Commit

Permalink
fix: avoid single char variable names and be consistent with _get_all…
Browse files Browse the repository at this point in the history
…_sources

Co-authored-by: Thomas Sibley <tom@zulutango.org>
  • Loading branch information
j23414 and tsibley committed Apr 17, 2023
1 parent 54c58e6 commit 910e60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingest/workflow/snakemake_rules/fetch_sequences.smk
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Produces final output as
"""

def download_serotype(w):
def download_serotype(wildcards):
serotype = {
'all': '12637',
'denv1': '11053',
'denv2': '11060',
'denv3': '11069',
'denv4': '11070'
}
return serotype[w.serotype]
return serotype[wildcards.serotype]

rule fetch_from_genbank:
output:
Expand Down

0 comments on commit 910e60b

Please sign in to comment.