Skip to content

Commit

Permalink
workflow name pattern update, remove tools under workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
junjun-zhang committed May 6, 2020
1 parent a51e47b commit 8293706
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
9 changes: 2 additions & 7 deletions schemas/qc_metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -22,7 +21,6 @@
"required": [
"workflow_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -33,14 +31,11 @@
"properties": {
"workflow_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
"pattern": "^[a-zA-Z][a-zA-Z0-9 _\\-]+[a-zA-Z0-9]+$"
},
"workflow_short_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
},
"analysis_tools": {
"const": null
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+[a-zA-Z0-9]+$"
},
"genome_build": {
"type": "string",
Expand Down
13 changes: 2 additions & 11 deletions schemas/variant_calling.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -24,7 +23,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -33,18 +31,11 @@
"properties": {
"workflow_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
"pattern": "^[a-zA-Z][a-zA-Z0-9 _\\-]+[a-zA-Z0-9]+$"
},
"workflow_short_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
},
"analysis_tools": {
"type": ["array", "null"],
"items": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
}
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+[a-zA-Z0-9]+$"
},
"genome_build": {
"type": "string",
Expand Down
9 changes: 2 additions & 7 deletions schemas/variant_calling_supplement.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -24,7 +23,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -33,14 +31,11 @@
"properties": {
"workflow_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
"pattern": "^[a-zA-Z][a-zA-Z0-9 _\\-]+[a-zA-Z0-9]+$"
},
"workflow_short_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
},
"analysis_tools": {
"const": null
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+[a-zA-Z0-9]+$"
},
"genome_build": {
"type": "string",
Expand Down

0 comments on commit 8293706

Please sign in to comment.