@@ -44,7 +44,7 @@ def test_issue_0003():
44
44
"format" : {
45
45
"@type" : "https://openminds.om-i.org/types/ContentType" ,
46
46
"name" : "application/zip" ,
47
- },
47
+ },
48
48
"sourceData" : [
49
49
{
50
50
"@type" : "https://openminds.om-i.org/types/File" ,
@@ -98,15 +98,11 @@ def test_issue0007():
98
98
"affiliation" : [
99
99
{
100
100
"@type" : "https://openminds.om-i.org/types/Affiliation" ,
101
- "memberOf" : {
102
- "@id" : "_:002"
103
- },
101
+ "memberOf" : {"@id" : "_:002" },
104
102
},
105
103
{
106
104
"@type" : "https://openminds.om-i.org/types/Affiliation" ,
107
- "memberOf" : {
108
- "@id" : "_:003"
109
- },
105
+ "memberOf" : {"@id" : "_:003" },
110
106
},
111
107
],
112
108
}
@@ -128,15 +124,11 @@ def test_issue0007():
128
124
"affiliation" : [
129
125
{
130
126
"@type" : "https://openminds.om-i.org/types/Affiliation" ,
131
- "memberOf" : {
132
- "@id" : "_:002"
133
- },
127
+ "memberOf" : {"@id" : "_:002" },
134
128
},
135
129
{
136
130
"@type" : "https://openminds.om-i.org/types/Affiliation" ,
137
- "memberOf" : {
138
- "@id" : "_:003"
139
- },
131
+ "memberOf" : {"@id" : "_:003" },
140
132
},
141
133
],
142
134
"familyName" : "Professor" ,
@@ -178,9 +170,7 @@ def test_issue0008():
178
170
{
179
171
"@type" : "https://openminds.om-i.org/types/Affiliation" ,
180
172
"endDate" : "2023-09-30" ,
181
- "memberOf" : {
182
- "@id" : "_:001"
183
- },
173
+ "memberOf" : {"@id" : "_:001" },
184
174
}
185
175
],
186
176
"familyName" : "Professor" ,
@@ -196,10 +186,7 @@ def test_issue0026():
196
186
197
187
uni1 = omcore .Organization (full_name = "University of This Place" , id = "_:uthisp" )
198
188
person = omcore .Person (
199
- given_name = "A" ,
200
- family_name = "Professor" ,
201
- affiliations = [omcore .Affiliation (member_of = uni1 )],
202
- id = "_:ap"
189
+ given_name = "A" , family_name = "Professor" , affiliations = [omcore .Affiliation (member_of = uni1 )], id = "_:ap"
203
190
)
204
191
205
192
c = Collection (person )
@@ -224,16 +211,9 @@ def test_issue0023():
224
211
225
212
uni1 = omcore .Organization (full_name = "University of This Place" , id = "_:uthisp" )
226
213
person = omcore .Person (
227
- given_name = "A" ,
228
- family_name = "Professor" ,
229
- affiliations = [omcore .Affiliation (member_of = uni1 )],
230
- id = "_:ap"
231
- )
232
- dv = omcore .DatasetVersion (
233
- full_name = "The name of the dataset version" ,
234
- custodians = [person ],
235
- id = "_:dv"
214
+ given_name = "A" , family_name = "Professor" , affiliations = [omcore .Affiliation (member_of = uni1 )], id = "_:ap"
236
215
)
216
+ dv = omcore .DatasetVersion (full_name = "The name of the dataset version" , custodians = [person ], id = "_:dv" )
237
217
238
218
c = Collection (dv )
239
219
0 commit comments