Skip to content

Commit 5eb1331

Browse files
author
openMINDS pipeline
committed
build triggered by submodule version
1 parent 19b1dc8 commit 5eb1331

53 files changed

Lines changed: 3752 additions & 3463 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

openminds/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def validate(self, ignore=None):
193193
"""
194194
all_failures = {}
195195
for node in self:
196-
failures = node.validate()
196+
failures = node.validate(ignore=ignore)
197197
if failures:
198198
all_failures[node.id] = failures
199199
return all_failures

openminds/latest/computation/model_validation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# this file was auto-generated!
66

77
from datetime import datetime, time
8+
from numbers import Real
89

910
from openminds.base import LinkedMetadata
1011
from openminds.properties import Property
@@ -131,7 +132,7 @@ class ModelValidation(LinkedMetadata):
131132
),
132133
Property(
133134
"score",
134-
float,
135+
Real,
135136
"score",
136137
description="no description available",
137138
instructions="Enter the numerical score generated by this model validation.",

openminds/latest/controlled_terms/action_status_type.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,21 +123,21 @@ def by_name(cls, name):
123123
id="https://openminds.ebrains.eu/instances/actionStatusType/active",
124124
definition="An in-progress action.",
125125
name="active",
126-
preferred_ontology_identifier="https://schema.org/ActiveActionStatus",
126+
preferred_ontology_identifier=IRI("https://schema.org/ActiveActionStatus"),
127127
synonyms=["active action status", "active action"],
128128
)
129129
ActionStatusType.completed = ActionStatusType(
130130
id="https://openminds.ebrains.eu/instances/actionStatusType/completed",
131131
definition="An action that has already taken place with a successful outcome.",
132132
name="completed",
133-
preferred_ontology_identifier="https://schema.org/CompletedActionStatus",
133+
preferred_ontology_identifier=IRI("https://schema.org/CompletedActionStatus"),
134134
synonyms=["completed action status", "completed action", "finished successfully"],
135135
)
136136
ActionStatusType.failed = ActionStatusType(
137137
id="https://openminds.ebrains.eu/instances/actionStatusType/failed",
138138
definition="An action that failed to complete or completed but produced an error.",
139139
name="failed",
140-
preferred_ontology_identifier="https://schema.org/FailedActionStatus",
140+
preferred_ontology_identifier=IRI("https://schema.org/FailedActionStatus"),
141141
synonyms=["failed action status", "failed action", "finished unsuccessfully", "error"],
142142
)
143143
ActionStatusType.inactive = ActionStatusType(
@@ -162,6 +162,6 @@ def by_name(cls, name):
162162
id="https://openminds.ebrains.eu/instances/actionStatusType/potential",
163163
definition="A description of an action that is supported.",
164164
name="potential",
165-
preferred_ontology_identifier="https://schema.org/PotentialActionStatus",
165+
preferred_ontology_identifier=IRI("https://schema.org/PotentialActionStatus"),
166166
synonyms=["potential action type", "potential action"],
167167
)

openminds/latest/controlled_terms/age_category.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,65 +128,65 @@ def by_name(cls, name):
128128
AgeCategory.adult = AgeCategory(
129129
id="https://openminds.ebrains.eu/instances/ageCategory/adult",
130130
definition="'Adult' categorizes the life cycle stage of an animal or human that reached sexual maturity.",
131-
interlex_identifier="http://uri.interlex.org/base/ilx_0729043",
131+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0729043"),
132132
name="adult",
133-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/UBERON_0000113",
133+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/UBERON_0000113"),
134134
synonyms=["adult stage", "post-juvenile adult", "post-juvenile adult stage"],
135135
)
136136
AgeCategory.embryo = AgeCategory(
137137
id="https://openminds.ebrains.eu/instances/ageCategory/embryo",
138138
definition="'Embryo' categorizes the life cycle stage of an animal or human that starts with fertilitzation and ends with the fully formed embryo.",
139-
interlex_identifier="http://uri.interlex.org/base/ilx_0735599",
139+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0735599"),
140140
name="embryo",
141-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/UBERON_0000068",
141+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/UBERON_0000068"),
142142
synonyms=["embryo stage", "embryonic stage"],
143143
)
144144
AgeCategory.infant = AgeCategory(
145145
id="https://openminds.ebrains.eu/instances/ageCategory/infant",
146146
definition="'Infant' categorizes the life cycle stage of mammals (animal or human) that follows the neonate stage and ends at weaning.",
147-
interlex_identifier="http://uri.interlex.org/base/ilx_0735063",
147+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0735063"),
148148
name="infant",
149-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/UBERON_0034920",
149+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/UBERON_0034920"),
150150
synonyms=["infant stage"],
151151
)
152152
AgeCategory.juvenile = AgeCategory(
153153
id="https://openminds.ebrains.eu/instances/ageCategory/juvenile",
154154
definition="'Juvenile' categorizes the life cycle stage of an animal or human that starts with the independence of the nest and/or caregivers and ends with sexual maturity.",
155-
interlex_identifier="http://uri.interlex.org/base/ilx_0730395",
155+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0730395"),
156156
name="juvenile",
157-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/UBERON_0034919",
157+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/UBERON_0034919"),
158158
synonyms=["juvenile stage"],
159159
)
160160
AgeCategory.late_adult = AgeCategory(
161161
id="https://openminds.ebrains.eu/instances/ageCategory/lateAdult",
162162
definition="'Late adult' categorizes the life cycle stage of an animal or human that follows the prime adult stage.",
163-
interlex_identifier="http://uri.interlex.org/base/ilx_0725713",
163+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0725713"),
164164
name="late adult",
165-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/UBERON_0007222",
165+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/UBERON_0007222"),
166166
synonyms=["elderly", "elderly stage", "geriatric", "geriatric stage", "late adult stage"],
167167
)
168168
AgeCategory.neonate = AgeCategory(
169169
id="https://openminds.ebrains.eu/instances/ageCategory/neonate",
170170
definition="'Neonate' categorizes the life cycle stage of an animal or human that immediately follows birth.",
171-
interlex_identifier="http://uri.interlex.org/base/ilx_0732178",
171+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0732178"),
172172
name="neonate",
173-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/UBERON_0007221",
173+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/UBERON_0007221"),
174174
synonyms=["neonatal stage", "neonate stage"],
175175
)
176176
AgeCategory.perinatal = AgeCategory(
177177
id="https://openminds.ebrains.eu/instances/ageCategory/perinatal",
178178
definition="'Perinatal' categorizes the life cycle stage of an animal or human that starts right before birth and ends right after birth.",
179-
interlex_identifier="http://uri.interlex.org/base/ilx_0724163",
179+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0724163"),
180180
name="perinatal",
181-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/UBERON_0012101",
181+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/UBERON_0012101"),
182182
synonyms=["perinatal stage"],
183183
)
184184
AgeCategory.prime_adult = AgeCategory(
185185
id="https://openminds.ebrains.eu/instances/ageCategory/primeAdult",
186186
definition="'Prime adult' categorizes the life cycle stage of an animal or human that starts at the onset of sexual maturity or the cessation of growth, whichever comes last, and ends before senescence.",
187-
interlex_identifier="http://uri.interlex.org/base/ilx_0733125",
187+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0733125"),
188188
name="prime adult",
189-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/UBERON_0018241",
189+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/UBERON_0018241"),
190190
synonyms=["adulthood stage", "prime adult stage"],
191191
)
192192
AgeCategory.young_adult = AgeCategory(

openminds/latest/controlled_terms/atlas_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ def by_name(cls, name):
127127
AtlasType.parcellation_scheme = AtlasType(
128128
id="https://openminds.ebrains.eu/instances/atlasType/parcellationScheme",
129129
definition="A 'parcellation scheme' is a set of parcels occupying a part or all of an anatomical entity that has been delineated or annotated using a common approach or set of criteria.",
130-
interlex_identifier="http://uri.interlex.org/ilx_0108526",
130+
interlex_identifier=IRI("http://uri.interlex.org/ilx_0108526"),
131131
name="parcellation scheme",
132-
preferred_ontology_identifier="http://uri.neuinfo.org/nif/nifstd/nlx_144019",
132+
preferred_ontology_identifier=IRI("http://uri.neuinfo.org/nif/nifstd/nlx_144019"),
133133
synonyms=["partition scheme"],
134134
)
135135
AtlasType.probabilistic_atlas = AtlasType(

openminds/latest/controlled_terms/biological_order.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,17 @@ def by_name(cls, name):
122122
BiologicalOrder.carnivora = BiologicalOrder(
123123
id="https://openminds.ebrains.eu/instances/biologicalOrder/carnivora",
124124
definition="The biological order *Carnivora* (carnivore) belongs to the class *Mammalia* (mammals).",
125-
interlex_identifier="http://uri.interlex.org/base/ilx_0101675",
125+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0101675"),
126126
name="Carnivora",
127-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/NCBITaxon_33554",
127+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/NCBITaxon_33554"),
128128
synonyms=["carnivore"],
129129
)
130130
BiologicalOrder.cypriniformes = BiologicalOrder(
131131
id="https://openminds.ebrains.eu/instances/biologicalOrder/cypriniformes",
132132
definition="The biological order *Cypriniformes* belongs to the class *Actinopterygii* (ray-finned fishes).",
133-
interlex_identifier="http://uri.interlex.org/base/ilx_0737279",
133+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0737279"),
134134
name="Cypriniformes",
135-
preferred_ontology_identifier="http://id.nlm.nih.gov/mesh/2018/M0005508",
135+
preferred_ontology_identifier=IRI("http://id.nlm.nih.gov/mesh/2018/M0005508"),
136136
)
137137
BiologicalOrder.didelphimorphia = BiologicalOrder(
138138
id="https://openminds.ebrains.eu/instances/biologicalOrder/didelphimorphia",
@@ -143,23 +143,23 @@ def by_name(cls, name):
143143
BiologicalOrder.nudibranchia = BiologicalOrder(
144144
id="https://openminds.ebrains.eu/instances/biologicalOrder/nudibranchia",
145145
definition="The biological order *Nudibranchia* (nudibranchs) belongs to the class *Gastropoda* (gastropods).",
146-
interlex_identifier="http://uri.interlex.org/base/ilx_0107805",
146+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0107805"),
147147
name="Nudibranchia",
148-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/NCBITaxon_70849",
148+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/NCBITaxon_70849"),
149149
synonyms=["nudibranchs"],
150150
)
151151
BiologicalOrder.primates = BiologicalOrder(
152152
id="https://openminds.ebrains.eu/instances/biologicalOrder/primates",
153153
definition="The biological order *Primates* belongs to the class *Mammalia* (mammals).",
154-
interlex_identifier="http://uri.interlex.org/base/ilx_0486298",
154+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0486298"),
155155
name="Primates",
156-
preferred_ontology_identifier="http://id.nlm.nih.gov/mesh/2018/M0017579",
156+
preferred_ontology_identifier=IRI("http://id.nlm.nih.gov/mesh/2018/M0017579"),
157157
)
158158
BiologicalOrder.rodentia = BiologicalOrder(
159159
id="https://openminds.ebrains.eu/instances/biologicalOrder/rodentia",
160160
definition="The biological order *Rodentia* (rodents) belongs to the class *Mammalia* (mammals).",
161-
interlex_identifier="http://uri.interlex.org/base/ilx_0110175",
161+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0110175"),
162162
name="Rodentia",
163-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/NCBITaxon_9989",
163+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/NCBITaxon_9989"),
164164
synonyms=["rodents"],
165165
)

openminds/latest/controlled_terms/biological_sex.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,26 +123,26 @@ def by_name(cls, name):
123123
id="https://openminds.ebrains.eu/instances/biologicalSex/female",
124124
definition="Biological sex that produces egg cells (ova).",
125125
description="A female organism typically has the capacity to produce relatively large, usually immobile gametes (reproductive cells), called egg cells (or ova). In the process of fertilization, an egg cell (ovum) fuses with a smaller, usually mobile male gametes, called sperm cells (or spermatozoa).",
126-
interlex_identifier="http://uri.interlex.org/base/ilx_0104150",
126+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0104150"),
127127
name="female",
128-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/PATO_0000383",
128+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/PATO_0000383"),
129129
)
130130
BiologicalSex.hermaphrodite = BiologicalSex(
131131
id="https://openminds.ebrains.eu/instances/biologicalSex/hermaphrodite",
132132
definition="Biological sex with both male and female reproductive organs.",
133133
description="A hermaphrodite is an animal or plant that can produce gametes (reproductive cells) of both, male and female sexes. In sexually dimorphic organisms, hermaphroditism may occur because of variations in the genetic code. The term *hermaphrodite* is considered to be misleading, stigmatizing, and scientifically specious in reference to humans. For this reason, in humans the term *intersex* is typically used.",
134-
interlex_identifier="http://uri.interlex.org/base/ilx_0104963",
134+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0104963"),
135135
name="hermaphrodite",
136-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/PATO_0001340",
136+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/PATO_0001340"),
137137
synonyms=["intersex"],
138138
)
139139
BiologicalSex.male = BiologicalSex(
140140
id="https://openminds.ebrains.eu/instances/biologicalSex/male",
141141
definition="Biological sex that produces sperm cells (spermatozoa).",
142142
description="A male organism typically has the capacity to produce relatively small, usually mobile gametes (reproductive cells), called sperm cells (or spermatozoa). In the process of fertilization, these sperm cells fuse with a larger, usually immobile female gamete, called egg cell (or ovum).",
143-
interlex_identifier="http://uri.interlex.org/base/ilx_0106489",
143+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0106489"),
144144
name="male",
145-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/PATO_0000384",
145+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/PATO_0000384"),
146146
)
147147
BiologicalSex.not_detectable = BiologicalSex(
148148
id="https://openminds.ebrains.eu/instances/biologicalSex/notDetectable",

openminds/latest/controlled_terms/cell_culture_type.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ def by_name(cls, name):
122122
CellCultureType.primary = CellCultureType(
123123
id="https://openminds.ebrains.eu/instances/cellCultureType/primary",
124124
definition="A cell culture comprised of primary cultured cells and the media in which they are being actively propagated or quiescently stored.",
125-
interlex_identifier="http://uri.interlex.org/base/ilx_0490188",
125+
interlex_identifier=IRI("http://uri.interlex.org/base/ilx_0490188"),
126126
name="primary cell culture",
127-
preferred_ontology_identifier="http://id.nlm.nih.gov/mesh/2018/M0452904",
127+
preferred_ontology_identifier=IRI("http://id.nlm.nih.gov/mesh/2018/M0452904"),
128128
)
129129
CellCultureType.secondary = CellCultureType(
130130
id="https://openminds.ebrains.eu/instances/cellCultureType/secondary",
131131
definition="A cultured cell population that is derived through one or more passages in culture.",
132-
interlex_identifier="http://uri.interlex.org/ilx_0782434",
132+
interlex_identifier=IRI("http://uri.interlex.org/ilx_0782434"),
133133
name="secondary cell culture",
134-
preferred_ontology_identifier="http://purl.obolibrary.org/obo/OBI_0001905",
134+
preferred_ontology_identifier=IRI("http://purl.obolibrary.org/obo/OBI_0001905"),
135135
)

0 commit comments

Comments
 (0)