Skip to content

DSL1 warning remains #3915

@ewels

Description

@ewels

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions