Skip to content

Commit 9fccf93

Browse files
committed
Refactor error message and pattern validation in schema_input.json for improved clarity
1 parent b4a8905 commit 9fccf93

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

assets/schema_input.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,8 @@
2626
"type": "string",
2727
"format": "file-path",
2828
"exists": true,
29-
"errorMessage": "GZIP-compressed FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'",
30-
"anyOf": [
31-
{
32-
"pattern": "^\\S+\\.f(ast)?q\\.gz$"
33-
},
34-
{
35-
"maxLength": 0
36-
}
37-
]
29+
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
30+
"errorMessage": "GZIP-compressed FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
3831
},
3932
"strandedness": {
4033
"type": "string",

0 commit comments

Comments
 (0)