Skip to content

Commit

Permalink
Relaxed regex for sample naming, subsample number now accepts tow to …
Browse files Browse the repository at this point in the history
…many digits (eg. 2023-0001254-01 or 2023-0001254-5236)
  • Loading branch information
gregdenay committed Oct 23, 2023
1 parent 05be967 commit 7596ce1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.2.1

Relaxed regex for sample naming, subsample number now accepts tow to many digits (eg. 2023-0001254-01 or 2023-0001254-5236)

### 0.2.0

The workflow will expect fastq to be named after either the value of the `isolate_name_alt` if it is filled
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.2.1
4 changes: 2 additions & 2 deletions workflow/schema/metadata.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"properties": {
"isolate_id": {
"type": "string",
"pattern": "^(19[9-9][0-9]|2[0-1][0-4][0-9]|2150)-[0-9]{7}(-[0-9]{2})?$"
"pattern": "^(19[9-9][0-9]|2[0-1][0-4][0-9]|2150)-[0-9]{7}(-[0-9]{2,})?$"
},
"sample_id": {
"type": "string",
"pattern": "^(19[9-9][0-9]|2[0-1][0-4][0-9]|2150)-[0-9]{7}(-[0-9]{2})?$"
"pattern": "^(19[9-9][0-9]|2[0-1][0-4][0-9]|2150)-[0-9]{7}(-[0-9]{2,})?$"
},
"organism": {
"type": "string",
Expand Down

0 comments on commit 7596ce1

Please sign in to comment.