Skip to content

Commit 7ac39aa

Browse files
generate another formats for bke_taxonomy model(s)
1 parent 293297a commit 7ac39aa

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

json-schema-autogen/bke_taxonomy.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6237,12 +6237,12 @@
62376237
"Region": {
62386238
"description": "",
62396239
"enum": [
6240-
"STR",
6241-
"GPe",
6242-
"GPi",
6243-
"SN",
6244-
"Adj",
6245-
"STH"
6240+
"str",
6241+
"gpe",
6242+
"gpi",
6243+
"sn",
6244+
"adj",
6245+
"sth"
62466246
],
62476247
"title": "Region",
62486248
"type": "string"
@@ -6555,6 +6555,8 @@
65556555
},
65566556
"sth": {
65576557
"description": "Proportion of composition found in Subthalamic Nucleus",
6558+
"maximum": "1.0",
6559+
"minimum": "0.0",
65586560
"type": [
65596561
"number",
65606562
"null"

models_py-autogen/bke_taxonomy.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,17 @@ class CellTypeSetType(str, Enum):
134134

135135
class Region(str, Enum):
136136
# Striatum
137-
STR = "STR"
137+
STR = "str"
138138
# External Globus Pallidus
139-
GPe = "GPe"
139+
GPe = "gpe"
140140
# Internal Globus Pallidus
141-
GPi = "GPi"
141+
GPi = "gpi"
142142
# Substantia Nigra
143-
SN = "SN"
143+
SN = "sn"
144144
# Adjacent Regions
145-
Adj = "Adj"
145+
Adj = "adj"
146146
# Subthalamic Nucleus
147-
STH = "STH"
147+
STH = "sth"
148148

149149

150150

@@ -18885,7 +18885,7 @@ class SpatialProportions(ProvEntity, RelativeFrequencyAnalysisResult):
1888518885
gpi: Optional[float] = Field(default=None, description="""Proportion of composition found in Internal Globus Pallidus""", ge=0, le=1, json_schema_extra = { "linkml_meta": {'alias': 'gpi', 'domain_of': ['SpatialProportions']} })
1888618886
sn: Optional[float] = Field(default=None, description="""Proportion of composition found in Substantia Nigra""", ge=0, le=1, json_schema_extra = { "linkml_meta": {'alias': 'sn', 'domain_of': ['SpatialProportions']} })
1888718887
adj: Optional[float] = Field(default=None, description="""Proportion of composition found in Adjacent Regions""", ge=0, le=1, json_schema_extra = { "linkml_meta": {'alias': 'adj', 'domain_of': ['SpatialProportions']} })
18888-
sth: Optional[float] = Field(default=None, description="""Proportion of composition found in Subthalamic Nucleus""", json_schema_extra = { "linkml_meta": {'alias': 'sth', 'domain_of': ['SpatialProportions']} })
18888+
sth: Optional[float] = Field(default=None, description="""Proportion of composition found in Subthalamic Nucleus""", ge=0, le=1, json_schema_extra = { "linkml_meta": {'alias': 'sth', 'domain_of': ['SpatialProportions']} })
1888918889
was_derived_from: Optional[str] = Field(default=None, description="""A derivation is a transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a pre-existing entity.""", json_schema_extra = { "linkml_meta": {'alias': 'was_derived_from',
1889018890
'domain_of': ['ProvEntity',
1889118891
'CellTypeTaxonomy',

0 commit comments

Comments
 (0)