Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #67 from mirpedrol/docs
Browse files Browse the repository at this point in the history
small docs modifications
  • Loading branch information
ewels authored Jul 6, 2023
2 parents 182c19a + 28aaa09 commit 823b097
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/nextflow_schema/sample_sheet_schema_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ You can see this, used for validating sample sheets with `--input` here: [`asset
"fastq_1": {
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"format": "file-path",
"errorMessage": "FastQ file for reads 1 must be provided, cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
},
"fastq_2": {
"errorMessage": "FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz$"
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"format": "file-path"
},
{
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion docs/nextflow_schema/sample_sheet_schema_specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Fields that are present in the sample sheet, but not in the schema will be ignor
## Common keys

The majority of schema keys for sample sheet schema validation are identical to the Nextflow schema.
For example: `type`, `pattern`, `format`, `errorMessage` and so on.
For example: `type`, `pattern`, `format`, `errorMessage`, `exists` and so on.

Please refer to the [Nextflow schema specification](../nextflow_schema/nextflow_schema_specification.md) docs for details.

Expand Down

0 comments on commit 823b097

Please sign in to comment.