Skip to content

Commit 46f6e31

Browse files
committed
Update examples
1 parent bad7b5d commit 46f6e31

10 files changed

Lines changed: 723 additions & 744 deletions

examples/Basic.ipynb

Lines changed: 328 additions & 241 deletions
Large diffs are not rendered by default.

examples/KineticModelling.ipynb

Lines changed: 170 additions & 278 deletions
Large diffs are not rendered by default.

examples/outputs/enzmldoc.jsonld

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@type": "@id"
1313
}
1414
},
15-
"@id": "enzml:EnzymeMLDocument/191c7942-4c51-4ded-a7e1-18c1251d6b63",
15+
"@id": "enzml:EnzymeMLDocument/5c5f6234-4bd4-4502-8419-56a46443147f",
1616
"@type": [
1717
"enzml:EnzymeMLDocument"
1818
],
@@ -32,7 +32,7 @@
3232
"name": "schema:name",
3333
"volume": "OBO:OBI_0002139"
3434
},
35-
"@id": "enzml:Vessel/b6c5ef2e-ca73-42e6-a986-2cd10109d5ad",
35+
"@id": "enzml:Vessel/fac38216-5e3d-45db-9454-03fdaf57d8c7",
3636
"@type": [
3737
"enzml:Vessel",
3838
"OBO:OBI_0400081"
@@ -313,7 +313,7 @@
313313
"@type": "@id"
314314
}
315315
},
316-
"@id": "enzml:Equation/5e893b88-bc2a-4865-ab00-dc3fb3ef9af3",
316+
"@id": "enzml:Equation/2b23b81b-84aa-4e8b-8122-9a9053de0878",
317317
"@type": [
318318
"enzml:Equation"
319319
],
@@ -331,7 +331,7 @@
331331
"@type": "@id"
332332
}
333333
},
334-
"@id": "enzml:Variable/e37ee551-9f81-49ef-92f5-17b0293ac425",
334+
"@id": "enzml:Variable/357b5b51-79dd-4a70-a3b9-a04895e62e86",
335335
"@type": [
336336
"enzml:Variable"
337337
],
@@ -352,7 +352,7 @@
352352
"@type": "@id"
353353
}
354354
},
355-
"@id": "enzml:ReactionElement/d3543d0b-0f6c-40b9-bd8e-4ab551e70c52",
355+
"@id": "enzml:ReactionElement/86e621f9-5bc6-4ac6-a075-e02b2669a459",
356356
"@type": [
357357
"enzml:ReactionElement"
358358
],
@@ -369,7 +369,7 @@
369369
"@type": "@id"
370370
}
371371
},
372-
"@id": "enzml:ReactionElement/b9695bf6-ba9e-41db-94be-58c8c59bfa64",
372+
"@id": "enzml:ReactionElement/b29a2c62-434e-4598-a2b5-3177641fead8",
373373
"@type": [
374374
"enzml:ReactionElement"
375375
],
@@ -388,7 +388,7 @@
388388
"@type": "@id"
389389
}
390390
},
391-
"@id": "enzml:ReactionElement/b9b0a3b5-40bf-417e-9028-fb7c8064fbca",
391+
"@id": "enzml:ReactionElement/efd94cfb-4118-4957-af4c-149dea044f08",
392392
"@type": [
393393
"enzml:ReactionElement"
394394
],
@@ -405,7 +405,7 @@
405405
"@type": "@id"
406406
}
407407
},
408-
"@id": "enzml:ReactionElement/8e38177f-51ee-47f9-8dfd-8258fd5b86a0",
408+
"@id": "enzml:ReactionElement/56500350-87a1-409f-bf61-d0c9a8013683",
409409
"@type": [
410410
"enzml:ReactionElement"
411411
],
@@ -422,7 +422,7 @@
422422
"@type": "@id"
423423
}
424424
},
425-
"@id": "enzml:ReactionElement/420bd4b0-9ee7-4b78-af0b-d9e7c140cb0c",
425+
"@id": "enzml:ReactionElement/2773e17b-fb47-4cfd-a021-d3aed12c2367",
426426
"@type": [
427427
"enzml:ReactionElement"
428428
],
@@ -441,7 +441,7 @@
441441
"@type": "@id"
442442
}
443443
},
444-
"@id": "enzml:ModifierElement/981c4564-be0f-4938-aad9-d436c45590ef",
444+
"@id": "enzml:ModifierElement/65ef57a1-c7a1-4a29-ad11-b5f81835781c",
445445
"@type": [
446446
"enzml:ModifierElement"
447447
],
@@ -465,7 +465,7 @@
465465
"@type": "@id"
466466
}
467467
},
468-
"@id": "enzml:Measurement/520bfd58-2b06-438c-81e5-4d0b2d9b5952",
468+
"@id": "enzml:Measurement/9046f5b2-32dd-4dc3-9e19-d0e81cc103f9",
469469
"@type": [
470470
"enzml:Measurement"
471471
],
@@ -481,7 +481,7 @@
481481
"@type": "@id"
482482
}
483483
},
484-
"@id": "enzml:MeasurementData/a83a481c-3dd3-4bb6-ba8d-e14ef189ba9f",
484+
"@id": "enzml:MeasurementData/aceae647-3f9d-48ba-b9c7-2e1a3ec9c1c6",
485485
"@type": [
486486
"enzml:MeasurementData"
487487
],
@@ -579,7 +579,7 @@
579579
"@type": "@id"
580580
}
581581
},
582-
"@id": "enzml:Measurement/b643e1ed-a9b3-4cd9-a6c5-d17fd68bb06a",
582+
"@id": "enzml:Measurement/fe60e437-f899-4e95-8412-0196243a1c3a",
583583
"@type": [
584584
"enzml:Measurement"
585585
],
@@ -595,7 +595,7 @@
595595
"@type": "@id"
596596
}
597597
},
598-
"@id": "enzml:MeasurementData/7d098f77-4648-43ad-bce7-b7ea6186f0ea",
598+
"@id": "enzml:MeasurementData/5da6dd33-1bb0-43ca-8190-a88fe93c3b84",
599599
"@type": [
600600
"enzml:MeasurementData"
601601
],
@@ -693,7 +693,7 @@
693693
"@type": "@id"
694694
}
695695
},
696-
"@id": "enzml:Measurement/e2772b60-f666-44a8-b788-9c9679938726",
696+
"@id": "enzml:Measurement/1211542e-97fd-4839-92b0-4ae20d2e24f5",
697697
"@type": [
698698
"enzml:Measurement"
699699
],
@@ -709,7 +709,7 @@
709709
"@type": "@id"
710710
}
711711
},
712-
"@id": "enzml:MeasurementData/15560566-571b-4b12-8d79-c3585cd3cb99",
712+
"@id": "enzml:MeasurementData/d0262806-c9f1-4a12-8ecd-9241e48918a5",
713713
"@type": [
714714
"enzml:MeasurementData"
715715
],
@@ -807,7 +807,7 @@
807807
"@type": "@id"
808808
}
809809
},
810-
"@id": "enzml:Measurement/a09b7544-b9d9-4e70-b9c1-6d00938156ea",
810+
"@id": "enzml:Measurement/799e7ecc-814f-4e27-9b0a-38359cd5163a",
811811
"@type": [
812812
"enzml:Measurement"
813813
],
@@ -823,7 +823,7 @@
823823
"@type": "@id"
824824
}
825825
},
826-
"@id": "enzml:MeasurementData/62bc8059-673c-451b-a2d2-172105d37407",
826+
"@id": "enzml:MeasurementData/609ade3f-3529-4791-8b18-db8b769199ee",
827827
"@type": [
828828
"enzml:MeasurementData"
829829
],
@@ -921,7 +921,7 @@
921921
"@type": "@id"
922922
}
923923
},
924-
"@id": "enzml:Measurement/af694904-b39f-43a3-b0ec-5458dbfa5f12",
924+
"@id": "enzml:Measurement/4f8a3c90-3256-4cc3-ba05-d1353f0068cc",
925925
"@type": [
926926
"enzml:Measurement"
927927
],
@@ -937,7 +937,7 @@
937937
"@type": "@id"
938938
}
939939
},
940-
"@id": "enzml:MeasurementData/8bce292a-24b1-4d04-8cf8-1c5f37cd5df4",
940+
"@id": "enzml:MeasurementData/1692de96-4faa-4d32-a5b6-4b1506d967b5",
941941
"@type": [
942942
"enzml:MeasurementData"
943943
],
@@ -1035,16 +1035,16 @@
10351035
"@type": "@id"
10361036
}
10371037
},
1038-
"@id": "enzml:Parameter/7231702a-60a2-4547-82f1-fb8145bbaeb0",
1038+
"@id": "enzml:Parameter/20215b33-8582-4bde-b06f-336faaffa8c0",
10391039
"@type": [
10401040
"enzml:Parameter"
10411041
],
1042-
"id": "v_max",
1043-
"name": "v_max",
1044-
"symbol": "v_max",
1045-
"initial_value": 7.0,
1046-
"upper_bound": 20.0,
1047-
"lower_bound": 2.0,
1042+
"id": "K_m",
1043+
"name": "K_m",
1044+
"symbol": "K_m",
1045+
"initial_value": 80.0,
1046+
"upper_bound": 200.0,
1047+
"lower_bound": 20.0,
10481048
"constant": true
10491049
},
10501050
{
@@ -1057,16 +1057,16 @@
10571057
"@type": "@id"
10581058
}
10591059
},
1060-
"@id": "enzml:Parameter/92e93bfa-0c00-4146-ac62-5c518f6dfdd5",
1060+
"@id": "enzml:Parameter/c977cf88-6793-4013-b9d4-93156354a9b9",
10611061
"@type": [
10621062
"enzml:Parameter"
10631063
],
1064-
"id": "K_m",
1065-
"name": "K_m",
1066-
"symbol": "K_m",
1067-
"initial_value": 80.0,
1068-
"upper_bound": 200.0,
1069-
"lower_bound": 20.0,
1064+
"id": "v_max",
1065+
"name": "v_max",
1066+
"symbol": "v_max",
1067+
"initial_value": 7.0,
1068+
"upper_bound": 20.0,
1069+
"lower_bound": 2.0,
10701070
"constant": true
10711071
}
10721072
],
0 Bytes
Binary file not shown.

examples/outputs/ethanol_degradation.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<compartment id="v1" name="Eppendorf tube" spatialDimensions="3" size="10" units="u3" constant="true">
4343
<annotation>
4444
<rdf:RDF xmlns:OBO="http://purl.obolibrary.org/obo/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:schema="https://schema.org/">
45-
<rdf:Description rdf:about="http://www.enzymeml.org/v2/Vessel/b6c5ef2e-ca73-42e6-a986-2cd10109d5ad">
45+
<rdf:Description rdf:about="http://www.enzymeml.org/v2/Vessel/fac38216-5e3d-45db-9454-03fdaf57d8c7">
4646
<schema:name>Eppendorf tube</schema:name>
4747
<OBO:OBI_0002139 rdf:datatype="http://www.w3.org/2001/XMLSchema#double">10.0</OBO:OBI_0002139>
4848
<rdf:type rdf:resource="http://www.enzymeml.org/v2/Vessel"/>
@@ -150,30 +150,30 @@
150150
</species>
151151
</listOfSpecies>
152152
<listOfParameters>
153-
<parameter id="v_max" name="v_max" value="7" constant="true">
153+
<parameter id="K_m" name="K_m" value="80" constant="true">
154154
<annotation>
155155
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
156-
<rdf:Description rdf:about="http://www.enzymeml.org/v2/Parameter/7231702a-60a2-4547-82f1-fb8145bbaeb0">
156+
<rdf:Description rdf:about="http://www.enzymeml.org/v2/Parameter/20215b33-8582-4bde-b06f-336faaffa8c0">
157157
<rdf:type rdf:resource="http://www.enzymeml.org/v2/Parameter"/>
158158
</rdf:Description>
159159
</rdf:RDF>
160160
<parameter xmlns="https://www.enzymeml.org/v2">
161-
<lowerBound>2.0</lowerBound>
162-
<upperBound>20.0</upperBound>
161+
<lowerBound>20.0</lowerBound>
162+
<upperBound>200.0</upperBound>
163163
<stdDeviation/>
164164
</parameter>
165165
</annotation>
166166
</parameter>
167-
<parameter id="K_m" name="K_m" value="80" constant="true">
167+
<parameter id="v_max" name="v_max" value="7" constant="true">
168168
<annotation>
169169
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
170-
<rdf:Description rdf:about="http://www.enzymeml.org/v2/Parameter/92e93bfa-0c00-4146-ac62-5c518f6dfdd5">
170+
<rdf:Description rdf:about="http://www.enzymeml.org/v2/Parameter/c977cf88-6793-4013-b9d4-93156354a9b9">
171171
<rdf:type rdf:resource="http://www.enzymeml.org/v2/Parameter"/>
172172
</rdf:Description>
173173
</rdf:RDF>
174174
<parameter xmlns="https://www.enzymeml.org/v2">
175-
<lowerBound>20.0</lowerBound>
176-
<upperBound>200.0</upperBound>
175+
<lowerBound>2.0</lowerBound>
176+
<upperBound>20.0</upperBound>
177177
<stdDeviation/>
178178
</parameter>
179179
</annotation>

0 commit comments

Comments
 (0)