Skip to content

Commit

Permalink
Actually exit if length params aren't provided with custom scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
BioWilko committed Nov 12, 2024
1 parent b5a480e commit 76029fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ workflow {
// check to make sure min and max length have been set
if (!params.max_len || !params.min_len) {
log.info """${c_purple}EXITING: --min_len and --max_len parameters must be specified when using custom schemes.${c_reset}"""
exit 1
}

params._max_len = params.max_len
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ manifest {
description = 'Run the ARTIC fieldbioinformatics workflow on multiplexed MPXV ONT data'
mainScript = 'main.nf'
nextflowVersion = '>=23.04.2'
version = 'v1.2.2'
version = 'v1.2.3'
}

epi2melabs {
Expand Down

0 comments on commit 76029fc

Please sign in to comment.