Skip to content

No pipeline crash if NF version too old #344

@jfy133

Description

@jfy133

Describe the bug
Pipeline doesn't crash if minimum version not reached. Nextflow tries anyway and gives uncomprehnsiable error for a new user.

See here: https://www.nextflow.io/docs/latest/metadata.html#nextflow-metadata

if( !nextflow.version.matches('0.22+') ) {
    println "This workflow requires Nextflow version 0.22 or greater -- You are running version $nextflow.version"
    exit 1
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions