Skip to content

Commit 259c63b

Browse files
authored
Merge pull request #34 from ShimiraOleg/json-schema-improvements
updated nextflow_schema.json
2 parents 8be6b09 + 3602c50 commit 259c63b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## dev
7+
8+
### `Changed`
9+
10+
[#34](https://github.com/nf-core/demo/pull/34) Updated the JSON schema to make input validation stricter, thus preventing more errors during the pipeline run.
11+
612
## 1.0.2
713

814
### Credits

nextflow_schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"format": "file-path",
1818
"exists": true,
1919
"schema": "assets/schema_input.json",
20-
"mimetype": "text/csv",
21-
"pattern": "^\\S+\\.csv$",
20+
"pattern": "^\\S+\\.(csv|tsv|json|yaml|yml)$",
2221
"description": "Path to comma-separated file containing information about the samples in the experiment.",
2322
"help_text": "You will need to create a design file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 3 columns, and a header row. See [usage docs](https://nf-co.re/demo/usage#samplesheet-input).",
2423
"fa_icon": "fas fa-file-csv"

0 commit comments

Comments
 (0)