@@ -44,7 +44,7 @@ def test_issue_0003():
4444 "format" : {
4545 "@type" : "https://openminds.om-i.org/types/ContentType" ,
4646 "name" : "application/zip" ,
47- },
47+ },
4848 "sourceData" : [
4949 {
5050 "@type" : "https://openminds.om-i.org/types/File" ,
@@ -98,15 +98,11 @@ def test_issue0007():
9898 "affiliation" : [
9999 {
100100 "@type" : "https://openminds.om-i.org/types/Affiliation" ,
101- "memberOf" : {
102- "@id" : "_:002"
103- },
101+ "memberOf" : {"@id" : "_:002" },
104102 },
105103 {
106104 "@type" : "https://openminds.om-i.org/types/Affiliation" ,
107- "memberOf" : {
108- "@id" : "_:003"
109- },
105+ "memberOf" : {"@id" : "_:003" },
110106 },
111107 ],
112108 }
@@ -128,15 +124,11 @@ def test_issue0007():
128124 "affiliation" : [
129125 {
130126 "@type" : "https://openminds.om-i.org/types/Affiliation" ,
131- "memberOf" : {
132- "@id" : "_:002"
133- },
127+ "memberOf" : {"@id" : "_:002" },
134128 },
135129 {
136130 "@type" : "https://openminds.om-i.org/types/Affiliation" ,
137- "memberOf" : {
138- "@id" : "_:003"
139- },
131+ "memberOf" : {"@id" : "_:003" },
140132 },
141133 ],
142134 "familyName" : "Professor" ,
@@ -178,9 +170,7 @@ def test_issue0008():
178170 {
179171 "@type" : "https://openminds.om-i.org/types/Affiliation" ,
180172 "endDate" : "2023-09-30" ,
181- "memberOf" : {
182- "@id" : "_:001"
183- },
173+ "memberOf" : {"@id" : "_:001" },
184174 }
185175 ],
186176 "familyName" : "Professor" ,
@@ -196,10 +186,7 @@ def test_issue0026():
196186
197187 uni1 = omcore .Organization (full_name = "University of This Place" , id = "_:uthisp" )
198188 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"
203190 )
204191
205192 c = Collection (person )
@@ -224,16 +211,9 @@ def test_issue0023():
224211
225212 uni1 = omcore .Organization (full_name = "University of This Place" , id = "_:uthisp" )
226213 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"
236215 )
216+ dv = omcore .DatasetVersion (full_name = "The name of the dataset version" , custodians = [person ], id = "_:dv" )
237217
238218 c = Collection (dv )
239219
0 commit comments