Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSL1 warning remains #3915

Open
ewels opened this issue May 3, 2023 · 0 comments · May be fixed by #3671
Open

DSL1 warning remains #3915

ewels opened this issue May 3, 2023 · 0 comments · May be fixed by #3671

Comments

@ewels
Copy link
Member

ewels commented May 3, 2023

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.

@ewels ewels added the bug label May 3, 2023
@bentsherman bentsherman linked a pull request May 8, 2023 that will close this issue
@stale stale bot added the stale label Oct 15, 2023
@ewels ewels removed the stale label Oct 16, 2023
@nextflow-io nextflow-io deleted a comment from stale bot Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant