I have an issue in a custom pipeline (based on nf-...
# nf-schema
i
I have an issue in a custom pipeline (based on nf-core template) that seems related to nf-schema.
Copy code
ERROR ~ Schema [<https://raw.githubusercontent.com/.../master/assets/schema_input.json>] failed to validate against meta-schema [<https://json-schema.org/draft/2020-12/schema>]

 -- Check script '/.../subworkflows/nf-core/utils_nfschema_plugin/main.nf' at line: 68 or see '.nextflow.log' file for more details
The issue is that: 1. The pipeline is not stored on GitHub, so the path in the error has no right to exist 2. There is no
schema_input.json
in the assets, I have given it a different name and changed the input subworkflow accordingly 3. The line indicated seems to check the params schema, not the samplesheet schema How can I fix this?
n
This error usually means that something is wrong with your schema. Could you show me the file?
a
Have you defined the correct schema for
input
in your main nextflow schema? (The pipeline one)
i
Found it. The URL was a red herring, the real issue was a typo in a regex.
🙌 1