Skip to content

--version requires samplesheet and database samplesheet #659

@fwa93

Description

@fwa93

Description of the bug

Hi.
I think I found a small bug
"--input" and "--databases" seem to be required to get output from "--version". I don´t know if this is the intention but it sure would be simpler if these two flags were not required for printing the version.
Thanks!

Command used and terminal output

# This does not work
nextflow run main.nf --version
Nextflow 25.10.0 is available - Please consider updating your version to it

 N E X T F L O W   ~  version 25.04.8

Launching `main.nf` [reverent_boyd] DSL2 - revision: bba6c867d1

Input samplesheet not specified

# This works. I took the same samplesheet on both variables (just wanted to see the version)
nextflow run main.nf --input assets/samplesheet.csv   --databases assets/samplesheet.csv --version
Nextflow 25.10.0 is available - Please consider updating your version to it

 N E X T F L O W   ~  version 25.04.8

Launching `main.nf` [kickass_wing] DSL2 - revision: bba6c867d1

nf-core/taxprofiler v1.2.4

Relevant files

No response

System information

nextflow 25.04.8
Hardware: Linux server red hat
executor: local
Container engine: Not specified
OS: Linux redhat
taxprofiler version: v1.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions