DSL1 warning remains
ewels opened this issue · 0 comments
ewels commented
Version 23.04.0 still returns a warning about DSL2 syntax and suggests using -dsl1
:
❯ nextflow run main.nf
N E X T F L O W ~ version 23.04.0
Launching `main.nf` [nostalgic_crick] DSL2 - revision: e660291f13
=============================================================================
= WARNING =
= You are running this script using DSL2 syntax, however it does not =
= contain any 'workflow' definition so there's nothing for Nextflow to run. =
= =
= If this script was written using Nextflow DSL1 syntax, please add the =
= setting 'nextflow.enable.dsl=1' to the nextflow.config file or use the =
= command-line option '-dsl1' when running the pipeline. =
= =
= More details at this link: https://www.nextflow.io/docs/latest/dsl2.html =
=============================================================================
However, the suggestions (running in DSL1 mode) are no longer possible:
❯ nextflow run main.nf -dsl1
N E X T F L O W ~ version 23.04.0
Nextflow DSL1 is no longer supported — Update your script to DSL2, or use Nextflow 22.10.x or earlier
The initial warning needs to be removed / rephrased.