Skip to content

Commit

Permalink
improve schema json for input
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed Sep 18, 2023
1 parent b541b04 commit 631e7d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ lint:
- docs/images/nf-core-sarek_logo_light.png
- lib/NfcoreTemplate.groovy
- lib/NfcoreSchema.groovy
schema_params: False
# schema_params: False
template_strings: False
multiqc_config: False
18 changes: 5 additions & 13 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,11 @@
"help_text": "A design file with information about the samples in your experiment. Use this parameter to specify the location of the input files. It has to be a comma-separated file with a header row. See [usage docs](https://nf-co.re/sarek/usage#input).\n\nIf no input file is specified, sarek will attempt to locate one in the `{outdir}` directory. If no input should be supplied, i.e. when --step is supplied or --build_from_index, then set --input false",
"fa_icon": "fas fa-file-csv",
"schema": "assets/schema_input.json",
"anyOf": [
{
"type": "string",
"format": "file-path",
"exists": true,
"mimetype": "text/csv",
"pattern": "^\\S+\\.csv$"
},
{
"type": "boolean",
"enum": ["false"]
}
]
"type": "string",
"format": "file-path",
"exists": true,
"mimetype": "text/csv",
"pattern": "^\\S+\\.csv$"
},
"input_restart": {
"type": "string",
Expand Down

0 comments on commit 631e7d3

Please sign in to comment.