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

Bug verifying nextflow version #19

Open
EmmaRenauld opened this issue Jul 22, 2022 · 0 comments
Open

Bug verifying nextflow version #19

EmmaRenauld opened this issue Jul 22, 2022 · 0 comments

Comments

@EmmaRenauld
Copy link

EmmaRenauld commented Jul 22, 2022

I tried running this today. I updated nextlfow (nextflow self-update) and ran this locally and got:

WARN: Nextflow version 22.04.5 does not match workflow required version: 21.1+ -- Execution will continue, but things may break!
This workflow requires Nextflow version 21.0 or greater -- You are running version 22.04.5

I saw after that you suggest using 21.1. But currently, message says 21.0 or greater, so I simply updated without checking the github or readme. Message should be "but not higher than"., or add a check;

if( !nextflow.version.matches('22.0+') ) {
    error "This workflow requires Nextflow version 21.*. -- You are running nextflow.version. Suggestion: Use 
            >>> NXF_VER=21.10.6 nextflow run dmriqc_flow/main.nf  [...] "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant