Skip to content

Commit

Permalink
add minLength for study and runs
Browse files Browse the repository at this point in the history
  • Loading branch information
KateSakharova committed Jul 9, 2024
1 parent da7186a commit fd4a4c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
"study_accession": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Study name must be provided and cannot contain spaces"
"errorMessage": "Study name must be provided and cannot contain spaces",
"minLength": 3
},
"reads_accession": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Sample name must be provided and cannot contain spaces"
"errorMessage": "Sample name must be provided and cannot contain spaces",
"minLength": 3
},
"fastq_1": {
"type": "string",
Expand Down
6 changes: 4 additions & 2 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@
"study_accession": {
"type": "string",
"fa_icon": "fas fa-address-card",
"description": "The ENA Study secondary accession"
"description": "The ENA Study secondary accession",
"minLength": 3
},
"reads_accession": {
"type": "string",
"description": "The ENA Run primary accession",
"fa_icon": "far fa-address-card"
"fa_icon": "far fa-address-card",
"minLength": 3
},
"private_study": {
"type": "boolean",
Expand Down

0 comments on commit fd4a4c6

Please sign in to comment.