Skip to content

Commit

Permalink
Allow white space in names and directories
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-panchal committed Apr 16, 2024
1 parent fcac2c5 commit 25d4e99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
"type": "string",
"format": "file-path",
"exists": true,
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 1 must be provided, cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
"pattern": "\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 1 must be provided and must have extension '.fq.gz' or '.fastq.gz'"
},
"fastq_2": {
"type": "string",
"format": "file-path",
"exists": true,
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
"pattern": "\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 2 is optional and must have extension '.fq.gz' or '.fastq.gz' if provided"
},
"rundir": {
"oneOf": [
{
"type": "string",
"format": "file-path",
"exists": true,
"pattern": "^\\S+\\.tar\\.gz$"
"pattern": "\\.tar\\.gz$"
},
{
"type": "string",
Expand Down

0 comments on commit 25d4e99

Please sign in to comment.