Skip to content

Commit

Permalink
Fix variable typo in amrfinderplus/run (nf-core#3892)
Browse files Browse the repository at this point in the history
Fix variable typo in amrfinderplus
  • Loading branch information
jasmezz authored Sep 28, 2023
1 parent b377c66 commit 016547e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nf-core/amrfinderplus/run/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ process AMRFINDERPLUS_RUN {
script:
def args = task.ext.args ?: ''
def is_compressed_fasta = fasta.getName().endsWith(".gz") ? true : false
def is_compressed_db = fasta.getName().endsWith(".gz") ? true : false
def is_compressed_db = db.getName().endsWith(".gz") ? true : false
prefix = task.ext.prefix ?: "${meta.id}"
organism_param = meta.containsKey("organism") ? "--organism ${meta.organism} --mutation_all ${prefix}-mutations.tsv" : ""
fasta_name = fasta.getName().replace(".gz", "")
Expand Down

0 comments on commit 016547e

Please sign in to comment.