if (params.help && !params.mode) {
log.info ''
log.info 'C I P H E R ~ version 1.0.0'
log.info '========================================================================================================='
log.info 'Genomics Sequencing Pipeline'
log.info ''
log.info 'Usage:'
log.info ' main.nf --mode <MODE> --config <CONFIG> --genome <GENOME> --library <LIBRARY> [OPTIONS]...'
log.info ''
log.info 'For advanced help and optional parameters specify a pipeline mode:'
log.info ' main.nf --mode chip --help'
log.info ' main.nf --mode dnase --help'
log.info ' main.nf --mode mnase --help'
log.info ' main.nf --mode gro --help'
log.info ' main.nf --mode rna --help'
log.info '========================================================================================================='
log.info ''
exit 1
}You have to define params.mode to a default valid at the beginning of your script.
p
--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/nextflow.
For more options, visit https://groups.google.com/d/optout.
*value
This has changed in the new version, the pervious required neither to have default values.
The same problem occurs with params.help ... does that have to be set to a default value as well?
This has changed in the new version, the pervious required neither to have default values.