Skip to content

Commit 7c6f972

Browse files
author
openMINDS pipeline
committed
Build triggered by workflow dispatch
1 parent db55dea commit 7c6f972

File tree

23 files changed

+538
-383
lines changed

23 files changed

+538
-383
lines changed

code/enumerations/latest/+openminds/+enum/Types.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@
162162
StockNumber("openminds.core.digitalidentifier.StockNumber")
163163
Comment("openminds.core.miscellaneous.Comment")
164164
Funding("openminds.core.miscellaneous.Funding")
165+
GeoCoordinates("openminds.core.miscellaneous.GeoCoordinates")
166+
Location("openminds.core.miscellaneous.Location")
165167
QuantitativeValue("openminds.core.miscellaneous.QuantitativeValue")
166168
QuantitativeValueArray("openminds.core.miscellaneous.QuantitativeValueArray")
167169
QuantitativeValueRange("openminds.core.miscellaneous.QuantitativeValueRange")

code/types/latest/+openminds/+computation/ValidationTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
end
9595

9696
properties (Access = protected)
97-
Required = ["description", "developer", "fullName", "hasVersion", "shortName"]
97+
Required = ["description", "developer", "fullName", "shortName"]
9898
end
9999

100100
properties (Constant, Hidden)

code/types/latest/+openminds/+computation/WorkflowRecipe.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
end
6767

6868
properties (Access = protected)
69-
Required = ["description", "developer", "fullName", "hasVersion", "shortName"]
69+
Required = ["description", "developer", "fullName", "shortName"]
7070
end
7171

7272
properties (Constant, Hidden)

code/types/latest/+openminds/+controlledterms/UBERONParcellation.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@
445445
"cerebralHemisphereGrayMatter", ...
446446
"cerebralHemisphereWhiteMatter", ...
447447
"cerebralNerveFasciculus", ...
448+
"cerebralNuclei", ...
448449
"cerebralPeduncle", ...
449450
"cerebralSubcortex", ...
450451
"cerebralVein", ...
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
classdef GeoCoordinates < openminds.abstract.Schema
2+
%GeoCoordinates - No description available.
3+
%
4+
% PROPERTIES:
5+
%
6+
% elevation : (1,1) double
7+
% Enter the elevation of the location in metres, following the definitions of the WGS84 system.
8+
%
9+
% latitude : (1,1) double
10+
% Enter the latitude of the location in decimal degrees, following the definitions of the WGS84 system.
11+
%
12+
% longitude : (1,1) double
13+
% Enter the longitude of the location in decimal degrees, following the definitions of the WGS84 system.
14+
15+
% This class was auto-generated by the openMINDS pipeline
16+
17+
properties
18+
% Enter the elevation of the location in metres, following the definitions of the WGS84 system.
19+
elevation (1,1) double
20+
21+
% Enter the latitude of the location in decimal degrees, following the definitions of the WGS84 system.
22+
latitude (1,1) double
23+
24+
% Enter the longitude of the location in decimal degrees, following the definitions of the WGS84 system.
25+
longitude (1,1) double
26+
end
27+
28+
properties (Access = protected)
29+
Required = ["latitude", "longitude"]
30+
end
31+
32+
properties (Constant, Hidden)
33+
X_TYPE = "https://openminds.om-i.org/types/GeoCoordinates"
34+
end
35+
36+
properties (Constant, Hidden)
37+
LINKED_PROPERTIES = struct(...
38+
)
39+
EMBEDDED_PROPERTIES = struct(...
40+
)
41+
end
42+
43+
methods
44+
function obj = GeoCoordinates(structInstance, propValues)
45+
arguments
46+
structInstance (1,:) {mustBeA(structInstance, 'struct')} = struct.empty
47+
propValues.?openminds.core.miscellaneous.GeoCoordinates
48+
propValues.id (1,1) string
49+
end
50+
propValues = namedargs2cell(propValues);
51+
obj@openminds.abstract.Schema(structInstance, propValues{:})
52+
end
53+
end
54+
55+
methods (Access = protected)
56+
function str = getDisplayLabel(obj)
57+
str = obj.createLabelForMissingLabelDefinition();
58+
end
59+
end
60+
end
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
classdef Location < openminds.abstract.Schema
2+
%Location - No description available.
3+
%
4+
% PROPERTIES:
5+
%
6+
% address : (1,1) string
7+
% Enter the address of the location, in the format [Street address], City, [Region/State], [Postal code]. The minimum requested information is City.
8+
%
9+
% country : (1,1) <a href="matlab:help openminds.controlledterms.SovereignState" style="font-weight:bold">SovereignState</a>
10+
% Enter the country in which the location is found.
11+
%
12+
% geoCoordinates : (1,1) <a href="matlab:help openminds.core.miscellaneous.GeoCoordinates" style="font-weight:bold">GeoCoordinates</a>
13+
% Enter the geographic coordinates of the location.
14+
15+
% This class was auto-generated by the openMINDS pipeline
16+
17+
properties
18+
% Enter the address of the location, in the format [Street address], City, [Region/State], [Postal code]. The minimum requested information is City.
19+
address (1,1) string
20+
21+
% Enter the country in which the location is found.
22+
country (1,:) openminds.controlledterms.SovereignState ...
23+
{mustBeSpecifiedLength(country, 0, 1)}
24+
25+
% Enter the geographic coordinates of the location.
26+
geoCoordinates (1,:) openminds.core.miscellaneous.GeoCoordinates ...
27+
{mustBeSpecifiedLength(geoCoordinates, 0, 1)}
28+
end
29+
30+
properties (Access = protected)
31+
Required = ["country"]
32+
end
33+
34+
properties (Constant, Hidden)
35+
X_TYPE = "https://openminds.om-i.org/types/Location"
36+
end
37+
38+
properties (Constant, Hidden)
39+
LINKED_PROPERTIES = struct(...
40+
'country', "openminds.controlledterms.SovereignState" ...
41+
)
42+
EMBEDDED_PROPERTIES = struct(...
43+
'geoCoordinates', "openminds.core.miscellaneous.GeoCoordinates" ...
44+
)
45+
end
46+
47+
methods
48+
function obj = Location(structInstance, propValues)
49+
arguments
50+
structInstance (1,:) {mustBeA(structInstance, 'struct')} = struct.empty
51+
propValues.?openminds.core.miscellaneous.Location
52+
propValues.id (1,1) string
53+
end
54+
propValues = namedargs2cell(propValues);
55+
obj@openminds.abstract.Schema(structInstance, propValues{:})
56+
end
57+
end
58+
59+
methods (Access = protected)
60+
function str = getDisplayLabel(obj)
61+
str = obj.createLabelForMissingLabelDefinition();
62+
end
63+
end
64+
end

code/types/latest/+openminds/+core/+products/Dataset.m

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
% fullName : (1,1) string
1919
% Enter a descriptive full name (or title) for this research product. Note that this should be a suitable full name for all attached research product versions.
2020
%
21-
% hasVersion : (1,:) <a href="matlab:help openminds.core.products.DatasetVersion" style="font-weight:bold">DatasetVersion</a>
22-
% Add all versions of this dataset.
23-
%
2421
% homepage : (1,1) string
2522
% Enter the internationalized resource identifier (IRI) to the homepage of this research product.
2623
%
@@ -51,10 +48,6 @@
5148
% Enter a descriptive full name (or title) for this research product. Note that this should be a suitable full name for all attached research product versions.
5249
fullName (1,1) string
5350

54-
% Add all versions of this dataset.
55-
hasVersion (1,:) openminds.core.products.DatasetVersion ...
56-
{mustBeListOfUniqueItems(hasVersion)}
57-
5851
% Enter the internationalized resource identifier (IRI) to the homepage of this research product.
5952
homepage (1,1) string
6053

@@ -66,7 +59,7 @@
6659
end
6760

6861
properties (Access = protected)
69-
Required = ["author", "description", "fullName", "hasVersion", "shortName"]
62+
Required = ["author", "description", "fullName", "shortName"]
7063
end
7164

7265
properties (Constant, Hidden)
@@ -77,8 +70,7 @@
7770
LINKED_PROPERTIES = struct(...
7871
'author', ["openminds.core.actors.Consortium", "openminds.core.actors.Organization", "openminds.core.actors.Person"], ...
7972
'custodian', ["openminds.core.actors.Consortium", "openminds.core.actors.Organization", "openminds.core.actors.Person"], ...
80-
'digitalIdentifier', ["openminds.core.digitalidentifier.DOI", "openminds.core.digitalidentifier.IdentifiersDotOrgID"], ...
81-
'hasVersion', "openminds.core.products.DatasetVersion" ...
73+
'digitalIdentifier', ["openminds.core.digitalidentifier.DOI", "openminds.core.digitalidentifier.IdentifiersDotOrgID"] ...
8274
)
8375
EMBEDDED_PROPERTIES = struct(...
8476
)

0 commit comments

Comments
 (0)