Skip to content

Commit

Permalink
Update error message when passing both one of --qiime_ref_taxonomy or…
Browse files Browse the repository at this point in the history
… --qiime_ref_tax_custom and --classifier.
  • Loading branch information
Matthew Marshall committed Nov 29, 2023
1 parent a4219a0 commit 0ccf6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WorkflowAmpliseq.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class WorkflowAmpliseq {
}

if ((params.qiime_ref_taxonomy || params.qiime_ref_tax_custom) && params.classifier) {
Nextflow.error("Incompatible parameters: `--qiime_ref_taxonomy` will produce a classifier but `--classifier` points to a precomputed classifier, therefore, only use one of those.")
Nextflow.error("Incompatible parameters: `--qiime_ref_taxonomy` and `--qiime_ref_tax_custom` will produce a classifier but `--classifier` points to a precomputed classifier, therefore, only use one of those.")
}

if (params.kraken2_ref_tax_custom && !params.kraken2_assign_taxlevels ) {
Expand Down

0 comments on commit 0ccf6e6

Please sign in to comment.