Skip to content

Commit 982d967

Browse files
author
openMINDS pipeline
committed
build triggered by submodule version
1 parent 75de126 commit 982d967

409 files changed

Lines changed: 3135 additions & 3121 deletions

File tree

Some content is hidden

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ mgm = omcore.Organization(
3030
stan = omcore.Person(
3131
given_name="Stan",
3232
family_name="Laurel",
33-
affiliation=omcore.Affiliation(member_of=mgm, start_date=date(1942, 1, 1))
33+
affiliations=omcore.Affiliation(member_of=mgm, start_date=date(1942, 1, 1))
3434
)
3535

3636
ollie = omcore.Person(
3737
given_name="Oliver",
3838
family_name="Hardy",
39-
affiliation=omcore.Affiliation(member_of=mgm, start_date=date(1942, 1, 1))
39+
affiliations=omcore.Affiliation(member_of=mgm, start_date=date(1942, 1, 1))
4040
)
4141

4242
# Add the metadata to the collection

openminds/latest/chemicals/chemical_mixture.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ChemicalMixture(LinkedMetadata):
2929
instructions="Enter any additional remarks concerning this chemical mixture.",
3030
),
3131
Property(
32-
"has_part",
32+
"has_parts",
3333
"openminds.latest.chemicals.AmountOfChemical",
3434
"hasPart",
3535
multiple=True,
@@ -64,11 +64,11 @@ class ChemicalMixture(LinkedMetadata):
6464
),
6565
]
6666

67-
def __init__(self, id=None, additional_remarks=None, has_part=None, name=None, product_source=None, type=None):
67+
def __init__(self, id=None, additional_remarks=None, has_parts=None, name=None, product_source=None, type=None):
6868
return super().__init__(
6969
id=id,
7070
additional_remarks=additional_remarks,
71-
has_part=has_part,
71+
has_parts=has_parts,
7272
name=name,
7373
product_source=product_source,
7474
type=type,

openminds/latest/computation/data_analysis.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DataAnalysis(LinkedMetadata):
2121

2222
properties = [
2323
Property(
24-
"custom_property_set",
24+
"custom_property_sets",
2525
"openminds.latest.core.CustomPropertySet",
2626
"customPropertySet",
2727
multiple=True,
@@ -55,7 +55,7 @@ class DataAnalysis(LinkedMetadata):
5555
instructions="Add the computational environment in which this computation was executed.",
5656
),
5757
Property(
58-
"input",
58+
"inputs",
5959
[
6060
"openminds.latest.computation.LocalFile",
6161
"openminds.latest.core.File",
@@ -88,7 +88,7 @@ class DataAnalysis(LinkedMetadata):
8888
instructions="Enter a lookup label for this activity that may help you to find this instance more easily.",
8989
),
9090
Property(
91-
"output",
91+
"outputs",
9292
[
9393
"openminds.latest.computation.LocalFile",
9494
"openminds.latest.core.File",
@@ -121,7 +121,7 @@ class DataAnalysis(LinkedMetadata):
121121
instructions="Add the workflow recipe version used for this computation.",
122122
),
123123
Property(
124-
"resource_usage",
124+
"resource_usages",
125125
["openminds.latest.core.QuantitativeValue", "openminds.latest.core.QuantitativeValueRange"],
126126
"resourceUsage",
127127
multiple=True,
@@ -153,7 +153,7 @@ class DataAnalysis(LinkedMetadata):
153153
instructions="Enter the current status of this computation.",
154154
),
155155
Property(
156-
"study_target",
156+
"study_targets",
157157
[
158158
"openminds.latest.controlled_terms.AuditoryStimulusType",
159159
"openminds.latest.controlled_terms.BiologicalOrder",
@@ -192,7 +192,7 @@ class DataAnalysis(LinkedMetadata):
192192
instructions="Add all study targets of this activity.",
193193
),
194194
Property(
195-
"tag",
195+
"tags",
196196
str,
197197
"tag",
198198
multiple=True,
@@ -203,7 +203,7 @@ class DataAnalysis(LinkedMetadata):
203203
instructions="Enter any custom tags for this computation.",
204204
),
205205
Property(
206-
"technique",
206+
"techniques",
207207
"openminds.latest.controlled_terms.AnalysisTechnique",
208208
"technique",
209209
multiple=True,
@@ -232,43 +232,43 @@ class DataAnalysis(LinkedMetadata):
232232
def __init__(
233233
self,
234234
id=None,
235-
custom_property_set=None,
235+
custom_property_sets=None,
236236
description=None,
237237
end_time=None,
238238
environment=None,
239-
input=None,
239+
inputs=None,
240240
launch_configuration=None,
241241
lookup_label=None,
242-
output=None,
242+
outputs=None,
243243
performed_by=None,
244244
recipe=None,
245-
resource_usage=None,
245+
resource_usages=None,
246246
start_time=None,
247247
started_by=None,
248248
status=None,
249-
study_target=None,
250-
tag=None,
251-
technique=None,
249+
study_targets=None,
250+
tags=None,
251+
techniques=None,
252252
was_informed_by=None,
253253
):
254254
return super().__init__(
255255
id=id,
256-
custom_property_set=custom_property_set,
256+
custom_property_sets=custom_property_sets,
257257
description=description,
258258
end_time=end_time,
259259
environment=environment,
260-
input=input,
260+
inputs=inputs,
261261
launch_configuration=launch_configuration,
262262
lookup_label=lookup_label,
263-
output=output,
263+
outputs=outputs,
264264
performed_by=performed_by,
265265
recipe=recipe,
266-
resource_usage=resource_usage,
266+
resource_usages=resource_usages,
267267
start_time=start_time,
268268
started_by=started_by,
269269
status=status,
270-
study_target=study_target,
271-
tag=tag,
272-
technique=technique,
270+
study_targets=study_targets,
271+
tags=tags,
272+
techniques=techniques,
273273
was_informed_by=was_informed_by,
274274
)

openminds/latest/computation/data_copy.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DataCopy(LinkedMetadata):
2121

2222
properties = [
2323
Property(
24-
"custom_property_set",
24+
"custom_property_sets",
2525
"openminds.latest.core.CustomPropertySet",
2626
"customPropertySet",
2727
multiple=True,
@@ -55,7 +55,7 @@ class DataCopy(LinkedMetadata):
5555
instructions="Add the computational environment in which this computation was executed.",
5656
),
5757
Property(
58-
"input",
58+
"inputs",
5959
[
6060
"openminds.latest.computation.LocalFile",
6161
"openminds.latest.computation.ValidationTestVersion",
@@ -89,7 +89,7 @@ class DataCopy(LinkedMetadata):
8989
instructions="Enter a lookup label for this activity that may help you to find this instance more easily.",
9090
),
9191
Property(
92-
"output",
92+
"outputs",
9393
[
9494
"openminds.latest.computation.LocalFile",
9595
"openminds.latest.core.File",
@@ -121,7 +121,7 @@ class DataCopy(LinkedMetadata):
121121
instructions="Add the workflow recipe version used for this computation.",
122122
),
123123
Property(
124-
"resource_usage",
124+
"resource_usages",
125125
["openminds.latest.core.QuantitativeValue", "openminds.latest.core.QuantitativeValueRange"],
126126
"resourceUsage",
127127
multiple=True,
@@ -153,7 +153,7 @@ class DataCopy(LinkedMetadata):
153153
instructions="Enter the current status of this computation.",
154154
),
155155
Property(
156-
"study_target",
156+
"study_targets",
157157
[
158158
"openminds.latest.controlled_terms.AuditoryStimulusType",
159159
"openminds.latest.controlled_terms.BiologicalOrder",
@@ -192,7 +192,7 @@ class DataCopy(LinkedMetadata):
192192
instructions="Add all study targets of this activity.",
193193
),
194194
Property(
195-
"tag",
195+
"tags",
196196
str,
197197
"tag",
198198
multiple=True,
@@ -203,7 +203,7 @@ class DataCopy(LinkedMetadata):
203203
instructions="Enter any custom tags for this computation.",
204204
),
205205
Property(
206-
"technique",
206+
"techniques",
207207
"openminds.latest.controlled_terms.AnalysisTechnique",
208208
"technique",
209209
multiple=True,
@@ -232,43 +232,43 @@ class DataCopy(LinkedMetadata):
232232
def __init__(
233233
self,
234234
id=None,
235-
custom_property_set=None,
235+
custom_property_sets=None,
236236
description=None,
237237
end_time=None,
238238
environment=None,
239-
input=None,
239+
inputs=None,
240240
launch_configuration=None,
241241
lookup_label=None,
242-
output=None,
242+
outputs=None,
243243
performed_by=None,
244244
recipe=None,
245-
resource_usage=None,
245+
resource_usages=None,
246246
start_time=None,
247247
started_by=None,
248248
status=None,
249-
study_target=None,
250-
tag=None,
251-
technique=None,
249+
study_targets=None,
250+
tags=None,
251+
techniques=None,
252252
was_informed_by=None,
253253
):
254254
return super().__init__(
255255
id=id,
256-
custom_property_set=custom_property_set,
256+
custom_property_sets=custom_property_sets,
257257
description=description,
258258
end_time=end_time,
259259
environment=environment,
260-
input=input,
260+
inputs=inputs,
261261
launch_configuration=launch_configuration,
262262
lookup_label=lookup_label,
263-
output=output,
263+
outputs=outputs,
264264
performed_by=performed_by,
265265
recipe=recipe,
266-
resource_usage=resource_usage,
266+
resource_usages=resource_usages,
267267
start_time=start_time,
268268
started_by=started_by,
269269
status=status,
270-
study_target=study_target,
271-
tag=tag,
272-
technique=technique,
270+
study_targets=study_targets,
271+
tags=tags,
272+
techniques=techniques,
273273
was_informed_by=was_informed_by,
274274
)

0 commit comments

Comments
 (0)