Skip to content

Commit

Permalink
Small fix in use_all warning
Browse files Browse the repository at this point in the history
  • Loading branch information
itrujnara committed May 21, 2024
1 parent 6920dd3 commit a27bbc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subworkflows/local/get_orthologs.nf
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ workflow GET_ORTHOLOGS {
ch_versions = ch_versions.mix(WRITE_SEQINFO.out.versions)

// Ortholog fetching

warning("Both '--use_all' and '--offline_run' parameters have been specified!\nThose databases that can't be run offline will be run online.")
if(params.offline_run && params.use_all) {
log.warn("Both '--use_all' and '--offline_run' parameters have been specified!\nThose databases that can't be run offline will be run online.")
log.warn("Trying to use online databases in offline mode. Are you sure?")
}

Expand Down

0 comments on commit a27bbc6

Please sign in to comment.