Skip to content

Commit

Permalink
Merge pull request #438 from icgc-argo/allow_negative_interval
Browse files Browse the repository at this point in the history
Allow negative interval
  • Loading branch information
lindaxiang authored Sep 18, 2024
2 parents 37c9ad3 + ae4b553 commit c5c1888
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
3 changes: 0 additions & 3 deletions schemas/biomarker.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@
"name": "test_interval",
"valueType": "integer",
"restrictions": {
"range": {
"exclusiveMin": 0
},
"script": "#/script/biomarker/intervalOrId"
},
"meta": {
Expand Down
10 changes: 2 additions & 8 deletions schemas/follow_up.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@
"name": "interval_of_followup",
"valueType": "integer",
"restrictions": {
"required": true,
"range": {
"exclusiveMin": 0
}
"required": true
},
"meta": {
"core": true,
Expand Down Expand Up @@ -153,10 +150,7 @@
"name": "relapse_interval",
"valueType": "integer",
"restrictions": {
"script": "#/script/follow_up/relapse_interval",
"range": {
"exclusiveMin": 0
}
"script": "#/script/follow_up/relapse_interval"
},
"meta": {
"core": true,
Expand Down
5 changes: 1 addition & 4 deletions schemas/treatment.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,7 @@
"description": "The interval between the primary diagnosis and initiation of treatment, in days.",
"valueType": "integer",
"restrictions": {
"script": "#/script/treatment/checkWhenNoTreatment",
"range": {
"exclusiveMin": 0
}
"script": "#/script/treatment/checkWhenNoTreatment"
},
"meta": {
"core": true,
Expand Down

0 comments on commit c5c1888

Please sign in to comment.