nextflow-io / nf-schema

Functionality for working with pipeline and sample sheet schema files in Nextflow pipelines
https://nextflow-io.github.io/nf-schema/
Apache License 2.0
12 stars 21 forks source link

Non-informative message for file-path format that should be file-path-pattern #67

Closed toniher closed 1 month ago

toniher commented 1 month ago

I was unable to validate a parameter that was denied as file-path and should be file-path-pattern instead. Example that needed to be changed:

        "genomes": {
          "type": "string",
          "description": "Path to fasta genome files",
          "format": "file-path",
          "default": "./test/GENOMES/*_gDNA-subsetted.fasta.gz"
        },
d'oct.-23 12:32:26.733 [main] DEBUG nextflow.Session - Session aborted -- Cause: No signature of method: java.util.LinkedList.getFileSystem() is applicable for argument types: () values: []
d'oct.-23 12:32:26.747 [main] ERROR nextflow.cli.Launcher - @unknown
nvnieuwk commented 1 month ago

Added in #73