5#IFPg*9cki@J78{Vk@}n{BbP(PS#exW!>SizoK8dhlTYn#GvxAP7c
zO%v+-&YUIJ>Dbyz$?
zL?5yuXS-NO$H2eP8l(^EQwMxVqc9m&y5bo4f?l7ekvpRYhEV+Mm
z5F`CS*9z!fG?(-|Gt5YjSU?AOtRRo_HAb0oKe?1%aS9D9nIk=_hU6fiwiO)_7WXS*ZF`}{mKdC
z7r6ML&n^D0o>*>Z!dhu*Z{G@P>^uFqNE^blT1e2~yTr~Iu(W=wqvBYc@%{VvkPx8Q
z;>YZ{!eOHuMJ~(&dUu&pl=MwC9D?q10OhxSxmMVo(4pdKSVo<8|5^aDO0QV9U-NYL
z)V6h54>in*wIfwD*2(F#((CC{XsC@kz%jcYp+O@cG58#3L#mi!ILw;b8ebZ1AkA~w
zJ)A2{8V*r)O5c)#P{J&$3i&X5W9~`nwqo8iI+$eGOM|AJ_%ma0ns2sf_fjLGL5L5t
z?iG&bW!&va5#hiJ)@HIEW-kv#kp1KDbB~N73;xjxaqJ6d30Z`2ruo$_O-As;g1|*X
zN6emyy1QU6&+s1-(g@-7H+Xu+y_`4ie{ecvYM3a`$Ma&l@oW)HB@^%4-8Xts>OyPY
z{!@Cp$_aWy049Tr5cS=VkPvWvHn|=Ga5{83S1e*Sq&8tQR!`%mMe@cMhKwP_i^A-R
zl~*_0?_KPEQuj6Z`-lN?ITr~{7I4}mzD*DLFYTBC=S>YH%gxRALTy=@1pm#g)KrJC4;(R=OJWg$@3K!Ba=IFv%p`b6edbCzR
z09x5I=H5XpdN%gGlX-(-%6YbS^uEbSZ^$D!(iSz=!SM&1(y`VxSP0$u
z>iU})AE-hDhN(+Fd&Xd>dWlCQpTGPIPJ?WcT7!??6EBR|tfLdRIXuOeRqzAuGEq_y
z4xe6q7CWN-Jw
zfiYhJ;F7jVcY5E$Jse_ucmokQKy{2x6fkpIN=W&kZ2O^Iu~E8yy2^_}hh)`G_%F#R
zqwMTWOaZGSwI0msqBu%6z;o7aH$#XZDqXa@2NgM^2z7PK?_M-#hQK%Eu})Rx)Pt@)
z6KKG*qQ*#>D-2p9Od!THEQ;3^=H^&kjuP@?7@+NLsv-Mj+z$`1Gtb;?*uDgpfz3#RUZ;K$~KLP}h0fziqf3#h
zeQ9E}QHvU_0<)CSy?)L{h(o>yS+yC2zV6snC-fbTlrd+R-+>CT%Vb;7|KQM>L}S-7
zBQD;Gx!yKw+{p6@-?WJ1cv}0~-e_)YY`eMHQ`-P<>1><77TF3Wg?$kJeJO^EsG?(|
zS*q@_eCEuRU=h{Jdo4(AF1NB1ilG8>xjLz9C_ic&LJNMH9t0A8Wga41mY?VnS{9!l
z8Xx@w?DYQOKYoPw!$AO^c$;$~Xt>wpC8}(@#wl-7aaC6&F^T7VDQA!W1-0`cV_5~B
zl3c@sHSG7QfgSJz&iCFJ(h6TxfhbJsIG&B=YYkHsg;?BP=aU|JEV>-6o+}a^miNlx
ziE)wYz43(N31f7$bap^xP1XjkJJe&Z^6-WGJd<}wl-lwL1`v2c6N4J
z+UI2@b-Mw{vYZahX$1+&CR*C;VJ~mc6VoB2?meJs&z27B4^b7o5|AmftU~One=YCjS0w%`P!u?^0T9S!ot;6Rfm3^
zoe@c`qN=-(nvD2x%N{Kw6eg4ijSUS*+B!PFvmh7lss|=N&
zHomQJ$7e|6=W98aDUxMnzd5W~>;VW+=FPFIxia9PW(v;Ch*p6f=tFj03OKprW`;e3
z;?hnzRu{7+{vGO9^grE=-85&Q9So#
zHN&HzX!G8i2DMARPin8dy)TlO)Iiz7=GGtB5dkJE2+l$BLI7${l0g9us8tYlbMBxo
z(a0huAYdRw58&nbU{!0xOj#M6Qc4A>wY2(r5s%;C^vt|{dt;+0&Fq(ukPxW<>G0Eu
zXxqmj{pWO*zOwl|LP9=s^$wMDCe=fto|~+MA8TrAVCbO!L)P8hU0q$>(lW18EN~@^
z#LCL*V|4UikxHRnPfrgadOt|lj2oJsbxBaWfl2^yh<~@lUK4+O=`E<70q5j%L_Lc;
z#j*vRK2=ogfr^iR)3*dlJzXsYTeSP}#{anub;AlEc>n&rp9Jh30?HdEAz9^QaO!`c
zzrW+*a^ATS_RN)+kI%TyZUhvPxxxa^4=oXZQAU*520EmTF7`^*4b5)7!HVVL|io
zyc@sUdWVU>v-tL7pZogysIlX5;Q`tF*I*O{H4ILFst%$a|5Tc6ZEs&c-W_2ezW=-p
z&SiqCn4ep@!JRfgk{U}a%3ew4yYzn~3JMAW+g4hdnuoQ=sC0m~p<$E5MDg6*95^QG
z>3Q~g|>VWbo6q-OD|I>9Mju)@8l$_w~YKG&X0|`jTfqX{`}d;$45T~?RTO+I~W*7hKAJsFQtNhzP?vro#bk>7@&K|
z)Mou!TKau-G%h|qJ~q~Xl`xuw8yg*c{A7BsmDrN#-E&+#Joks&ix8(<{-;0VP-SZ7%f%o=DA!
z>dZr9V_Ro8NJ@fN2~QV6vx@|2G26Hlu&Eoa0np
h@QnXWE4b?kp>qb^_0DP35mclCDhitNRkD`v{}(R0v;_bF
literal 0
HcmV?d00001
diff --git a/examples/MDF/networks/Net_network2.yaml b/examples/MDF/networks/Net_network2.yaml
new file mode 100644
index 00000000..c9924130
--- /dev/null
+++ b/examples/MDF/networks/Net_network2.yaml
@@ -0,0 +1,29 @@
+Net_network2:
+ format: ModECI MDF v0.4
+ generating_application: Python modeci-mdf v0.4.14
+ graphs:
+ Net_network2:
+ nodes:
+ A:
+ input_ports:
+ input:
+ default_value: 5
+ parameters:
+ total_inputs:
+ value: total_inputs + input
+ execute_count:
+ value: execute_count + 1
+ output_ports:
+ out_port:
+ value: total_inputs
+ B:
+ input_ports:
+ input: {}
+ parameters:
+ total_inputs:
+ value: total_inputs + input
+ execute_count:
+ value: execute_count + 1
+ output_ports:
+ out_port:
+ value: total_inputs
diff --git a/examples/MDF/networks/network2.py b/examples/MDF/networks/network2.py
new file mode 100644
index 00000000..632849b5
--- /dev/null
+++ b/examples/MDF/networks/network2.py
@@ -0,0 +1,123 @@
+"""
+ Example of ModECI MDF - Testing networks
+"""
+
+from modeci_mdf.mdf import *
+import sys
+import os
+from modeci_mdf.utils import simple_connect
+
+
+def main(ref="network2"):
+
+ mod = Model(id="Net_%s" % ref)
+
+ mod_graph = Graph(id="Net_%s" % ref)
+ mod.graphs.append(mod_graph)
+
+ for id in ["A", "B"]:
+
+ node = Node(id=id)
+
+ if id == "A":
+ ip1 = InputPort(id="input", default_value=5)
+ node.input_ports.append(ip1)
+
+ if id == "B":
+ ip1 = InputPort(id="input")
+ node.input_ports.append(ip1)
+
+ p1 = Parameter(id="total_inputs", value="total_inputs + input")
+ node.parameters.append(p1)
+
+ p2 = Parameter(id="execute_count", value="execute_count + 1")
+ node.parameters.append(p2)
+
+ op1 = OutputPort(id="out_port", value=p1.id)
+ node.output_ports.append(op1)
+
+ mod_graph.nodes.append(node)
+
+ # simple_connect(mod_graph.get_node("A"), mod_graph.get_node("B"), mod_graph)
+ # simple_connect(mod_graph.get_node("B"), mod_graph.get_node("A"), mod_graph)
+
+ new_file = mod.to_json_file("%s.json" % mod.id)
+ new_file = mod.to_yaml_file("%s.yaml" % mod.id)
+
+ eg = None
+
+ if "-run" in sys.argv:
+ verbose = True
+ # verbose = False
+ from modeci_mdf.utils import load_mdf, print_summary
+
+ from modeci_mdf.execution_engine import EvaluableGraph
+
+ eg = EvaluableGraph(mod_graph, verbose)
+ dt = 1
+
+ duration = 2
+ t = 0
+ recorded = {}
+ times = []
+ ai = []
+ bi = []
+ at = []
+ bt = []
+ ao = []
+ bo = []
+ while t <= duration:
+ times.append(t)
+ print("====== Evaluating at t = %s ======" % (t))
+ if t == 0:
+ eg.evaluate() # replace with initialize?
+ else:
+ eg.evaluate(time_increment=dt)
+
+ ai.append(eg.enodes["A"].evaluable_parameters["execute_count"].curr_value)
+ bi.append(eg.enodes["B"].evaluable_parameters["execute_count"].curr_value)
+ at.append(eg.enodes["A"].evaluable_parameters["total_inputs"].curr_value)
+ bt.append(eg.enodes["B"].evaluable_parameters["total_inputs"].curr_value)
+ ao.append(eg.enodes["A"].evaluable_outputs["out_port"].curr_value)
+ bo.append(eg.enodes["B"].evaluable_outputs["out_port"].curr_value)
+ t += dt
+
+ if "-nogui" not in sys.argv:
+ import matplotlib.pyplot as plt
+
+ plt.plot(times, ai, marker="x", label="A exe count")
+ plt.plot(times, bi, label="B exe count")
+ plt.plot(times, at, marker="D", label="A total_inputs")
+ plt.plot(times, bt, label="B total_inputs")
+
+ plt.legend()
+ plt.show()
+
+ if "-graph" in sys.argv:
+ mod.to_graph_image(
+ engine="dot",
+ output_format="png",
+ view_on_render=False,
+ level=3,
+ filename_root=mod_graph.id,
+ only_warn_on_fail=(
+ os.name == "nt"
+ ), # Makes sure test of this doesn't fail on Windows on GitHub Actions
+ )
+
+ return mod_graph, eg
+
+
+if __name__ == "__main__":
+ g, eg = main()
+
+ print("--------------------")
+ print(g.to_yaml())
+ print("--------------------")
+ if eg is not None:
+ for n in eg.enodes:
+ enode = eg.enodes[n]
+ print(enode)
+ print([enode.evaluable_outputs for enode in eg.enodes.values()])
+ else:
+ print("No execution engine created. Run with: -run")
From cd624643cb594c4db1fec37a756b055039fe3655 Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Tue, 24 Mar 2026 18:14:11 +0000
Subject: [PATCH 08/12] Additional info on outputs
---
src/modeci_mdf/execution_engine.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/modeci_mdf/execution_engine.py b/src/modeci_mdf/execution_engine.py
index d2f6631d..63b3c85d 100644
--- a/src/modeci_mdf/execution_engine.py
+++ b/src/modeci_mdf/execution_engine.py
@@ -679,6 +679,9 @@ def evaluate(
)
return self.curr_value
+ def __repr__(self):
+ return f"EvaluableOutput({self.output_port.id} = {_val_info(self.curr_value)} )"
+
class EvaluableInput:
"""Evaluates input value at the :class:`~modeci_mdf.mdf.InputPort` of the node during MDF graph execution.
From 90f8b0d76c843fcab076583db428b4c949e7fc5d Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 8 Apr 2026 18:13:17 +0100
Subject: [PATCH 09/12] Testing network2 in exp
---
examples/MDF/networks/Net_network2.json | 12 ++++++------
examples/MDF/networks/Net_network2.yaml | 12 ++++++------
examples/MDF/networks/network2.py | 12 ++++++------
src/modeci_mdf/execution_engine.py | 2 +-
4 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/examples/MDF/networks/Net_network2.json b/examples/MDF/networks/Net_network2.json
index 84beec5e..b39eb9f3 100644
--- a/examples/MDF/networks/Net_network2.json
+++ b/examples/MDF/networks/Net_network2.json
@@ -7,38 +7,38 @@
"nodes": {
"A": {
"input_ports": {
- "input": {
+ "in_port_0": {
"default_value": 5
}
},
"parameters": {
"total_inputs": {
- "value": "total_inputs + input"
+ "value": "total_inputs + in_port_0"
},
"execute_count": {
"value": "execute_count + 1"
}
},
"output_ports": {
- "out_port": {
+ "out_port_0": {
"value": "total_inputs"
}
}
},
"B": {
"input_ports": {
- "input": {}
+ "in_port_0": {}
},
"parameters": {
"total_inputs": {
- "value": "total_inputs + input"
+ "value": "total_inputs + in_port_0"
},
"execute_count": {
"value": "execute_count + 1"
}
},
"output_ports": {
- "out_port": {
+ "out_port_0": {
"value": "total_inputs"
}
}
diff --git a/examples/MDF/networks/Net_network2.yaml b/examples/MDF/networks/Net_network2.yaml
index c9924130..13d18b51 100644
--- a/examples/MDF/networks/Net_network2.yaml
+++ b/examples/MDF/networks/Net_network2.yaml
@@ -6,24 +6,24 @@ Net_network2:
nodes:
A:
input_ports:
- input:
+ in_port_0:
default_value: 5
parameters:
total_inputs:
- value: total_inputs + input
+ value: total_inputs + in_port_0
execute_count:
value: execute_count + 1
output_ports:
- out_port:
+ out_port_0:
value: total_inputs
B:
input_ports:
- input: {}
+ in_port_0: {}
parameters:
total_inputs:
- value: total_inputs + input
+ value: total_inputs + in_port_0
execute_count:
value: execute_count + 1
output_ports:
- out_port:
+ out_port_0:
value: total_inputs
diff --git a/examples/MDF/networks/network2.py b/examples/MDF/networks/network2.py
index 632849b5..786c3830 100644
--- a/examples/MDF/networks/network2.py
+++ b/examples/MDF/networks/network2.py
@@ -20,20 +20,20 @@ def main(ref="network2"):
node = Node(id=id)
if id == "A":
- ip1 = InputPort(id="input", default_value=5)
+ ip1 = InputPort(id="in_port_0", default_value=5)
node.input_ports.append(ip1)
if id == "B":
- ip1 = InputPort(id="input")
+ ip1 = InputPort(id="in_port_0")
node.input_ports.append(ip1)
- p1 = Parameter(id="total_inputs", value="total_inputs + input")
+ p1 = Parameter(id="total_inputs", value="total_inputs + in_port_0")
node.parameters.append(p1)
p2 = Parameter(id="execute_count", value="execute_count + 1")
node.parameters.append(p2)
- op1 = OutputPort(id="out_port", value=p1.id)
+ op1 = OutputPort(id="out_port_0", value=p1.id)
node.output_ports.append(op1)
mod_graph.nodes.append(node)
@@ -78,8 +78,8 @@ def main(ref="network2"):
bi.append(eg.enodes["B"].evaluable_parameters["execute_count"].curr_value)
at.append(eg.enodes["A"].evaluable_parameters["total_inputs"].curr_value)
bt.append(eg.enodes["B"].evaluable_parameters["total_inputs"].curr_value)
- ao.append(eg.enodes["A"].evaluable_outputs["out_port"].curr_value)
- bo.append(eg.enodes["B"].evaluable_outputs["out_port"].curr_value)
+ ao.append(eg.enodes["A"].evaluable_outputs["out_port_0"].curr_value)
+ bo.append(eg.enodes["B"].evaluable_outputs["out_port_0"].curr_value)
t += dt
if "-nogui" not in sys.argv:
diff --git a/src/modeci_mdf/execution_engine.py b/src/modeci_mdf/execution_engine.py
index 63b3c85d..4b1bf3f7 100644
--- a/src/modeci_mdf/execution_engine.py
+++ b/src/modeci_mdf/execution_engine.py
@@ -769,7 +769,7 @@ def evaluate(
)
)
- ###self.curr_value = None # to be tested for conditions
+ self.curr_value = None # to be tested for conditions...
return final_val
From 1a8b3d46a3b0c5c6ce530bbef0e6f486fe9051a9 Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 19 Aug 2026 17:13:41 +0100
Subject: [PATCH 10/12] To v0.4.16
---
src/modeci_mdf/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modeci_mdf/__init__.py b/src/modeci_mdf/__init__.py
index 83733d5c..7ccface5 100644
--- a/src/modeci_mdf/__init__.py
+++ b/src/modeci_mdf/__init__.py
@@ -13,4 +13,4 @@
MODECI_MDF_VERSION = "0.4"
# Version of the Python module.
-__version__ = "0.4.15"
+__version__ = "0.4.16"
From 36fee8c9422a833737a0ffa9b252eed8c84c2b1a Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 19 Aug 2026 17:27:16 +0100
Subject: [PATCH 11/12] Generated files updated to latest version
---
.../api/export_format/ACT-R/addition.json | 2 +-
.../api/export_format/ACT-R/addition.yaml | 2 +-
.../source/api/export_format/ACT-R/count.json | 2 +-
.../source/api/export_format/ACT-R/count.yaml | 2 +-
.../source/api/export_format/ONNX/ab.json | 2 +-
.../source/api/export_format/ONNX/ab.yaml | 2 +-
.../source/api/export_format/ONNX/abc.json | 2 +-
.../source/api/export_format/ONNX/abc.yaml | 2 +-
.../api/export_format/ONNX/abc_basic-mdf.json | 2 +-
.../api/export_format/ONNX/abc_basic-mdf.yaml | 2 +-
.../source/api/export_format/ONNX/abcd.json | 2 +-
.../source/api/export_format/ONNX/abcd.yaml | 2 +-
.../api/export_format/PyTorch/inception.json | 2 +-
.../api/export_format/PyTorch/mlp_pure_mdf.json | 2 +-
.../api/export_format/PyTorch/mlp_pure_mdf.yaml | 2 +-
.../PyTorch/simple_pytorch_to_mdf.json | 2 +-
examples/ACT-R/addition.json | 2 +-
examples/ACT-R/addition.yaml | 2 +-
examples/ACT-R/count.json | 2 +-
examples/ACT-R/count.yaml | 2 +-
examples/MDF/ABCD.json | 2 +-
examples/MDF/ABCD.yaml | 2 +-
examples/MDF/Arrays.json | 2 +-
examples/MDF/Arrays.yaml | 2 +-
examples/MDF/NewtonCoolingModel.json | 2 +-
examples/MDF/NewtonCoolingModel.yaml | 2 +-
examples/MDF/ParametersFunctions.json | 2 +-
examples/MDF/ParametersFunctions.yaml | 2 +-
examples/MDF/RNN/IAF_net.json | 2 +-
examples/MDF/RNN/IAF_net.yaml | 2 +-
examples/MDF/RNN/IAF_net2.json | 2 +-
examples/MDF/RNN/IAF_net2.yaml | 2 +-
examples/MDF/RNN/IAF_net3.json | 2 +-
examples/MDF/RNN/IAF_net3.yaml | 2 +-
examples/MDF/RNN/IAFs.json | 2 +-
examples/MDF/RNN/IAFs.yaml | 2 +-
examples/MDF/RNN/RNNs.json | 2 +-
examples/MDF/RNN/RNNs.yaml | 2 +-
examples/MDF/Simple.bson | Bin 901 -> 901 bytes
examples/MDF/Simple.json | 2 +-
examples/MDF/Simple.yaml | 2 +-
examples/MDF/States.json | 2 +-
examples/MDF/States.yaml | 2 +-
examples/MDF/SwitchedRLC_Circuit.json | 2 +-
examples/MDF/SwitchedRLC_Circuit.yaml | 2 +-
examples/MDF/abc_conditions.json | 2 +-
examples/MDF/abc_conditions.yaml | 2 +-
.../MDF/conditions/Composite_mdf_condition.json | 2 +-
.../MDF/conditions/Composite_mdf_condition.yaml | 2 +-
.../MDF/conditions/everyncalls_condition.json | 2 +-
.../MDF/conditions/everyncalls_condition.yaml | 2 +-
.../MDF/conditions/threshold_condition.json | 2 +-
.../MDF/conditions/threshold_condition.yaml | 2 +-
.../MDF/conditions/timeinterval_condition.json | 2 +-
.../MDF/conditions/timeinterval_condition.yaml | 2 +-
examples/MDF/networks/Net_acyclical.json | 2 +-
examples/MDF/networks/Net_acyclical.yaml | 2 +-
examples/ONNX/ab.json | 2 +-
examples/ONNX/ab.yaml | 2 +-
examples/ONNX/abc.json | 2 +-
examples/ONNX/abc.yaml | 2 +-
examples/ONNX/abc_basic-mdf.json | 2 +-
examples/ONNX/abc_basic-mdf.yaml | 2 +-
examples/ONNX/abcd.json | 2 +-
examples/ONNX/abcd.yaml | 2 +-
examples/PyTorch/MDF_PyTorch/ABCD_pytorch.py | 2 +-
examples/PyTorch/MDF_PyTorch/Arrays_pytorch.py | 2 +-
examples/PyTorch/MDF_PyTorch/Simple_pytorch.py | 2 +-
.../squeezenet1_1_benchmark.json | 6 +++---
examples/PyTorch/inception.json | 2 +-
examples/PyTorch/mlp_pure_mdf.json | 2 +-
examples/PyTorch/mlp_pure_mdf.yaml | 2 +-
examples/PyTorch/simple_pytorch_to_mdf.json | 2 +-
73 files changed, 74 insertions(+), 74 deletions(-)
diff --git a/docs/sphinx/source/api/export_format/ACT-R/addition.json b/docs/sphinx/source/api/export_format/ACT-R/addition.json
index 1572a4ce..76ed522d 100644
--- a/docs/sphinx/source/api/export_format/ACT-R/addition.json
+++ b/docs/sphinx/source/api/export_format/ACT-R/addition.json
@@ -1,7 +1,7 @@
{
"addition": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"addition_graph": {
"nodes": {
diff --git a/docs/sphinx/source/api/export_format/ACT-R/addition.yaml b/docs/sphinx/source/api/export_format/ACT-R/addition.yaml
index 65bd1ed4..c4dd6ef3 100644
--- a/docs/sphinx/source/api/export_format/ACT-R/addition.yaml
+++ b/docs/sphinx/source/api/export_format/ACT-R/addition.yaml
@@ -1,6 +1,6 @@
addition:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
addition_graph:
nodes:
diff --git a/docs/sphinx/source/api/export_format/ACT-R/count.json b/docs/sphinx/source/api/export_format/ACT-R/count.json
index 22d63756..ba33f63d 100644
--- a/docs/sphinx/source/api/export_format/ACT-R/count.json
+++ b/docs/sphinx/source/api/export_format/ACT-R/count.json
@@ -1,7 +1,7 @@
{
"count": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"count_graph": {
"nodes": {
diff --git a/docs/sphinx/source/api/export_format/ACT-R/count.yaml b/docs/sphinx/source/api/export_format/ACT-R/count.yaml
index 8cd4ee64..ce4b4712 100644
--- a/docs/sphinx/source/api/export_format/ACT-R/count.yaml
+++ b/docs/sphinx/source/api/export_format/ACT-R/count.yaml
@@ -1,6 +1,6 @@
count:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
count_graph:
nodes:
diff --git a/docs/sphinx/source/api/export_format/ONNX/ab.json b/docs/sphinx/source/api/export_format/ONNX/ab.json
index b794dd5f..463234e6 100644
--- a/docs/sphinx/source/api/export_format/ONNX/ab.json
+++ b/docs/sphinx/source/api/export_format/ONNX/ab.json
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"main_graph": {
"nodes": {
diff --git a/docs/sphinx/source/api/export_format/ONNX/ab.yaml b/docs/sphinx/source/api/export_format/ONNX/ab.yaml
index 0373f730..84f020d7 100644
--- a/docs/sphinx/source/api/export_format/ONNX/ab.yaml
+++ b/docs/sphinx/source/api/export_format/ONNX/ab.yaml
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
main_graph:
nodes:
diff --git a/docs/sphinx/source/api/export_format/ONNX/abc.json b/docs/sphinx/source/api/export_format/ONNX/abc.json
index 2d47a12f..255b56e4 100644
--- a/docs/sphinx/source/api/export_format/ONNX/abc.json
+++ b/docs/sphinx/source/api/export_format/ONNX/abc.json
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"main_graph": {
"nodes": {
diff --git a/docs/sphinx/source/api/export_format/ONNX/abc.yaml b/docs/sphinx/source/api/export_format/ONNX/abc.yaml
index 873597fd..a50ef452 100644
--- a/docs/sphinx/source/api/export_format/ONNX/abc.yaml
+++ b/docs/sphinx/source/api/export_format/ONNX/abc.yaml
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
main_graph:
nodes:
diff --git a/docs/sphinx/source/api/export_format/ONNX/abc_basic-mdf.json b/docs/sphinx/source/api/export_format/ONNX/abc_basic-mdf.json
index 4f1c64af..81e734d5 100644
--- a/docs/sphinx/source/api/export_format/ONNX/abc_basic-mdf.json
+++ b/docs/sphinx/source/api/export_format/ONNX/abc_basic-mdf.json
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"main_graph": {
"nodes": {
diff --git a/docs/sphinx/source/api/export_format/ONNX/abc_basic-mdf.yaml b/docs/sphinx/source/api/export_format/ONNX/abc_basic-mdf.yaml
index 5aa4dd24..c221626d 100644
--- a/docs/sphinx/source/api/export_format/ONNX/abc_basic-mdf.yaml
+++ b/docs/sphinx/source/api/export_format/ONNX/abc_basic-mdf.yaml
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
main_graph:
nodes:
diff --git a/docs/sphinx/source/api/export_format/ONNX/abcd.json b/docs/sphinx/source/api/export_format/ONNX/abcd.json
index 7d55c96e..b2d0bf3a 100644
--- a/docs/sphinx/source/api/export_format/ONNX/abcd.json
+++ b/docs/sphinx/source/api/export_format/ONNX/abcd.json
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"main_graph": {
"nodes": {
diff --git a/docs/sphinx/source/api/export_format/ONNX/abcd.yaml b/docs/sphinx/source/api/export_format/ONNX/abcd.yaml
index 890c27f2..db7e458c 100644
--- a/docs/sphinx/source/api/export_format/ONNX/abcd.yaml
+++ b/docs/sphinx/source/api/export_format/ONNX/abcd.yaml
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
main_graph:
nodes:
diff --git a/docs/sphinx/source/api/export_format/PyTorch/inception.json b/docs/sphinx/source/api/export_format/PyTorch/inception.json
index 037884d5..d8f37fc2 100644
--- a/docs/sphinx/source/api/export_format/PyTorch/inception.json
+++ b/docs/sphinx/source/api/export_format/PyTorch/inception.json
@@ -1,7 +1,7 @@
{
"InceptionBlocks": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"InceptionBlocksGraph": {
"nodes": {
diff --git a/docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.json b/docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.json
index 797147cd..3b649add 100644
--- a/docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.json
+++ b/docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.json
@@ -1,7 +1,7 @@
{
"mlp_pure_mdf": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"mlp_pure_mdf": {
"nodes": {
diff --git a/docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.yaml b/docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.yaml
index b3a07b34..5f493d25 100644
--- a/docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.yaml
+++ b/docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.yaml
@@ -1,6 +1,6 @@
mlp_pure_mdf:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
mlp_pure_mdf:
nodes:
diff --git a/docs/sphinx/source/api/export_format/PyTorch/simple_pytorch_to_mdf.json b/docs/sphinx/source/api/export_format/PyTorch/simple_pytorch_to_mdf.json
index e4544c13..c43a63dc 100644
--- a/docs/sphinx/source/api/export_format/PyTorch/simple_pytorch_to_mdf.json
+++ b/docs/sphinx/source/api/export_format/PyTorch/simple_pytorch_to_mdf.json
@@ -1,7 +1,7 @@
{
"SimpleNet": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"SimpleNetGraph": {
"nodes": {
diff --git a/examples/ACT-R/addition.json b/examples/ACT-R/addition.json
index 1572a4ce..76ed522d 100644
--- a/examples/ACT-R/addition.json
+++ b/examples/ACT-R/addition.json
@@ -1,7 +1,7 @@
{
"addition": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"addition_graph": {
"nodes": {
diff --git a/examples/ACT-R/addition.yaml b/examples/ACT-R/addition.yaml
index 65bd1ed4..c4dd6ef3 100644
--- a/examples/ACT-R/addition.yaml
+++ b/examples/ACT-R/addition.yaml
@@ -1,6 +1,6 @@
addition:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
addition_graph:
nodes:
diff --git a/examples/ACT-R/count.json b/examples/ACT-R/count.json
index 22d63756..ba33f63d 100644
--- a/examples/ACT-R/count.json
+++ b/examples/ACT-R/count.json
@@ -1,7 +1,7 @@
{
"count": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"count_graph": {
"nodes": {
diff --git a/examples/ACT-R/count.yaml b/examples/ACT-R/count.yaml
index 8cd4ee64..ce4b4712 100644
--- a/examples/ACT-R/count.yaml
+++ b/examples/ACT-R/count.yaml
@@ -1,6 +1,6 @@
count:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
count_graph:
nodes:
diff --git a/examples/MDF/ABCD.json b/examples/MDF/ABCD.json
index 1d19f2d7..f5e089ed 100644
--- a/examples/MDF/ABCD.json
+++ b/examples/MDF/ABCD.json
@@ -1,7 +1,7 @@
{
"ABCD": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"abcd_example": {
"nodes": {
diff --git a/examples/MDF/ABCD.yaml b/examples/MDF/ABCD.yaml
index 1ecba32a..b1588c37 100644
--- a/examples/MDF/ABCD.yaml
+++ b/examples/MDF/ABCD.yaml
@@ -1,6 +1,6 @@
ABCD:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
abcd_example:
nodes:
diff --git a/examples/MDF/Arrays.json b/examples/MDF/Arrays.json
index 44d06999..d5b4dae1 100644
--- a/examples/MDF/Arrays.json
+++ b/examples/MDF/Arrays.json
@@ -1,7 +1,7 @@
{
"Arrays": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"array_example": {
"nodes": {
diff --git a/examples/MDF/Arrays.yaml b/examples/MDF/Arrays.yaml
index 9ab8872f..680f00c4 100644
--- a/examples/MDF/Arrays.yaml
+++ b/examples/MDF/Arrays.yaml
@@ -1,6 +1,6 @@
Arrays:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
array_example:
nodes:
diff --git a/examples/MDF/NewtonCoolingModel.json b/examples/MDF/NewtonCoolingModel.json
index 8a2557a1..4a14b3ce 100644
--- a/examples/MDF/NewtonCoolingModel.json
+++ b/examples/MDF/NewtonCoolingModel.json
@@ -1,7 +1,7 @@
{
"NewtonCoolingModel": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"cooling_process": {
"nodes": {
diff --git a/examples/MDF/NewtonCoolingModel.yaml b/examples/MDF/NewtonCoolingModel.yaml
index d3d9ee71..df433274 100644
--- a/examples/MDF/NewtonCoolingModel.yaml
+++ b/examples/MDF/NewtonCoolingModel.yaml
@@ -1,6 +1,6 @@
NewtonCoolingModel:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
cooling_process:
nodes:
diff --git a/examples/MDF/ParametersFunctions.json b/examples/MDF/ParametersFunctions.json
index 92c1c55d..2b8f2025 100644
--- a/examples/MDF/ParametersFunctions.json
+++ b/examples/MDF/ParametersFunctions.json
@@ -1,7 +1,7 @@
{
"ParametersFunctions": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"params_funcs_example": {
"nodes": {
diff --git a/examples/MDF/ParametersFunctions.yaml b/examples/MDF/ParametersFunctions.yaml
index 30737c92..f1ee9600 100644
--- a/examples/MDF/ParametersFunctions.yaml
+++ b/examples/MDF/ParametersFunctions.yaml
@@ -1,6 +1,6 @@
ParametersFunctions:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
params_funcs_example:
nodes:
diff --git a/examples/MDF/RNN/IAF_net.json b/examples/MDF/RNN/IAF_net.json
index 7062654b..03951331 100644
--- a/examples/MDF/RNN/IAF_net.json
+++ b/examples/MDF/RNN/IAF_net.json
@@ -1,7 +1,7 @@
{
"IAF_net": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"iaf_example": {
"nodes": {
diff --git a/examples/MDF/RNN/IAF_net.yaml b/examples/MDF/RNN/IAF_net.yaml
index 91878ae8..dacd5d20 100644
--- a/examples/MDF/RNN/IAF_net.yaml
+++ b/examples/MDF/RNN/IAF_net.yaml
@@ -1,6 +1,6 @@
IAF_net:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
iaf_example:
nodes:
diff --git a/examples/MDF/RNN/IAF_net2.json b/examples/MDF/RNN/IAF_net2.json
index ffd49836..4bd7bd66 100644
--- a/examples/MDF/RNN/IAF_net2.json
+++ b/examples/MDF/RNN/IAF_net2.json
@@ -1,7 +1,7 @@
{
"IAF_net2": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"iaf_example": {
"nodes": {
diff --git a/examples/MDF/RNN/IAF_net2.yaml b/examples/MDF/RNN/IAF_net2.yaml
index 6b049ca5..dfc51772 100644
--- a/examples/MDF/RNN/IAF_net2.yaml
+++ b/examples/MDF/RNN/IAF_net2.yaml
@@ -1,6 +1,6 @@
IAF_net2:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
iaf_example:
nodes:
diff --git a/examples/MDF/RNN/IAF_net3.json b/examples/MDF/RNN/IAF_net3.json
index af87c2d8..543e1a1d 100644
--- a/examples/MDF/RNN/IAF_net3.json
+++ b/examples/MDF/RNN/IAF_net3.json
@@ -1,7 +1,7 @@
{
"IAF_net3": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"iaf_example": {
"nodes": {
diff --git a/examples/MDF/RNN/IAF_net3.yaml b/examples/MDF/RNN/IAF_net3.yaml
index d3ba4d8a..a5f31601 100644
--- a/examples/MDF/RNN/IAF_net3.yaml
+++ b/examples/MDF/RNN/IAF_net3.yaml
@@ -1,6 +1,6 @@
IAF_net3:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
iaf_example:
nodes:
diff --git a/examples/MDF/RNN/IAFs.json b/examples/MDF/RNN/IAFs.json
index db5b500d..c7437266 100644
--- a/examples/MDF/RNN/IAFs.json
+++ b/examples/MDF/RNN/IAFs.json
@@ -1,7 +1,7 @@
{
"IAFs": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"iaf_example": {
"nodes": {
diff --git a/examples/MDF/RNN/IAFs.yaml b/examples/MDF/RNN/IAFs.yaml
index b7ae2f7b..47140ec5 100644
--- a/examples/MDF/RNN/IAFs.yaml
+++ b/examples/MDF/RNN/IAFs.yaml
@@ -1,6 +1,6 @@
IAFs:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
iaf_example:
nodes:
diff --git a/examples/MDF/RNN/RNNs.json b/examples/MDF/RNN/RNNs.json
index f22ca9a2..94f6b495 100644
--- a/examples/MDF/RNN/RNNs.json
+++ b/examples/MDF/RNN/RNNs.json
@@ -1,7 +1,7 @@
{
"RNNs": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"rnn_example": {
"nodes": {
diff --git a/examples/MDF/RNN/RNNs.yaml b/examples/MDF/RNN/RNNs.yaml
index 30f59a09..2aa47599 100644
--- a/examples/MDF/RNN/RNNs.yaml
+++ b/examples/MDF/RNN/RNNs.yaml
@@ -1,6 +1,6 @@
RNNs:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
rnn_example:
nodes:
diff --git a/examples/MDF/Simple.bson b/examples/MDF/Simple.bson
index c8e35f413840474ec8f9f8bd4d35e3f2aaabc14f..d609556c68123a11c41fca396c64c1273841c563 100644
GIT binary patch
delta 12
TcmZo=Z)Km5z-YEHQH2=*7;FQ1
delta 12
TcmZo=Z)Km5z-YQLQH2=*7-s``
diff --git a/examples/MDF/Simple.json b/examples/MDF/Simple.json
index a915780f..4ba48357 100644
--- a/examples/MDF/Simple.json
+++ b/examples/MDF/Simple.json
@@ -1,7 +1,7 @@
{
"Simple": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"simple_example": {
"nodes": {
diff --git a/examples/MDF/Simple.yaml b/examples/MDF/Simple.yaml
index 8c198014..159f2ff7 100644
--- a/examples/MDF/Simple.yaml
+++ b/examples/MDF/Simple.yaml
@@ -1,6 +1,6 @@
Simple:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
simple_example:
nodes:
diff --git a/examples/MDF/States.json b/examples/MDF/States.json
index 3b2a0993..89b6d439 100644
--- a/examples/MDF/States.json
+++ b/examples/MDF/States.json
@@ -1,7 +1,7 @@
{
"States": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"state_example": {
"nodes": {
diff --git a/examples/MDF/States.yaml b/examples/MDF/States.yaml
index 9613ded0..921d3348 100644
--- a/examples/MDF/States.yaml
+++ b/examples/MDF/States.yaml
@@ -1,6 +1,6 @@
States:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
state_example:
nodes:
diff --git a/examples/MDF/SwitchedRLC_Circuit.json b/examples/MDF/SwitchedRLC_Circuit.json
index 5c2ef12f..48c56e87 100644
--- a/examples/MDF/SwitchedRLC_Circuit.json
+++ b/examples/MDF/SwitchedRLC_Circuit.json
@@ -1,7 +1,7 @@
{
"SwitchedRLC_Circuit": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"metadata": {
"preferred_duration": 2,
"preferred_dt": 0.001
diff --git a/examples/MDF/SwitchedRLC_Circuit.yaml b/examples/MDF/SwitchedRLC_Circuit.yaml
index f105cad9..35218b4d 100644
--- a/examples/MDF/SwitchedRLC_Circuit.yaml
+++ b/examples/MDF/SwitchedRLC_Circuit.yaml
@@ -1,6 +1,6 @@
SwitchedRLC_Circuit:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
metadata:
preferred_duration: 2
preferred_dt: 0.001
diff --git a/examples/MDF/abc_conditions.json b/examples/MDF/abc_conditions.json
index 58355ef1..3634e9d4 100644
--- a/examples/MDF/abc_conditions.json
+++ b/examples/MDF/abc_conditions.json
@@ -1,7 +1,7 @@
{
"abc_conditions": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"abc_conditions_example": {
"nodes": {
diff --git a/examples/MDF/abc_conditions.yaml b/examples/MDF/abc_conditions.yaml
index c377993d..2daf490d 100644
--- a/examples/MDF/abc_conditions.yaml
+++ b/examples/MDF/abc_conditions.yaml
@@ -1,6 +1,6 @@
abc_conditions:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
abc_conditions_example:
nodes:
diff --git a/examples/MDF/conditions/Composite_mdf_condition.json b/examples/MDF/conditions/Composite_mdf_condition.json
index a32e3cf2..4ffc888f 100644
--- a/examples/MDF/conditions/Composite_mdf_condition.json
+++ b/examples/MDF/conditions/Composite_mdf_condition.json
@@ -1,7 +1,7 @@
{
"Composite_mdf_condition": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"Composite_mdf_condition_example": {
"nodes": {
diff --git a/examples/MDF/conditions/Composite_mdf_condition.yaml b/examples/MDF/conditions/Composite_mdf_condition.yaml
index b1d5e244..8e2fb000 100644
--- a/examples/MDF/conditions/Composite_mdf_condition.yaml
+++ b/examples/MDF/conditions/Composite_mdf_condition.yaml
@@ -1,6 +1,6 @@
Composite_mdf_condition:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
Composite_mdf_condition_example:
nodes:
diff --git a/examples/MDF/conditions/everyncalls_condition.json b/examples/MDF/conditions/everyncalls_condition.json
index 27aebd4d..5f5bae77 100644
--- a/examples/MDF/conditions/everyncalls_condition.json
+++ b/examples/MDF/conditions/everyncalls_condition.json
@@ -1,7 +1,7 @@
{
"everyncalls_condition": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"everyncalls_example": {
"nodes": {
diff --git a/examples/MDF/conditions/everyncalls_condition.yaml b/examples/MDF/conditions/everyncalls_condition.yaml
index 7736d12e..44ddb33e 100644
--- a/examples/MDF/conditions/everyncalls_condition.yaml
+++ b/examples/MDF/conditions/everyncalls_condition.yaml
@@ -1,6 +1,6 @@
everyncalls_condition:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
everyncalls_example:
nodes:
diff --git a/examples/MDF/conditions/threshold_condition.json b/examples/MDF/conditions/threshold_condition.json
index b2e972e1..524c02a1 100644
--- a/examples/MDF/conditions/threshold_condition.json
+++ b/examples/MDF/conditions/threshold_condition.json
@@ -1,7 +1,7 @@
{
"threshold_condition": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"threshold_example": {
"nodes": {
diff --git a/examples/MDF/conditions/threshold_condition.yaml b/examples/MDF/conditions/threshold_condition.yaml
index 7f90a8b5..7420e169 100644
--- a/examples/MDF/conditions/threshold_condition.yaml
+++ b/examples/MDF/conditions/threshold_condition.yaml
@@ -1,6 +1,6 @@
threshold_condition:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
threshold_example:
nodes:
diff --git a/examples/MDF/conditions/timeinterval_condition.json b/examples/MDF/conditions/timeinterval_condition.json
index 58ebddd2..3fd66b4e 100644
--- a/examples/MDF/conditions/timeinterval_condition.json
+++ b/examples/MDF/conditions/timeinterval_condition.json
@@ -1,7 +1,7 @@
{
"timeinterval_condition": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"timeinterval_example": {
"nodes": {
diff --git a/examples/MDF/conditions/timeinterval_condition.yaml b/examples/MDF/conditions/timeinterval_condition.yaml
index 0100211e..eb2be3d8 100644
--- a/examples/MDF/conditions/timeinterval_condition.yaml
+++ b/examples/MDF/conditions/timeinterval_condition.yaml
@@ -1,6 +1,6 @@
timeinterval_condition:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
timeinterval_example:
nodes:
diff --git a/examples/MDF/networks/Net_acyclical.json b/examples/MDF/networks/Net_acyclical.json
index ac3ce346..67429b5c 100644
--- a/examples/MDF/networks/Net_acyclical.json
+++ b/examples/MDF/networks/Net_acyclical.json
@@ -1,7 +1,7 @@
{
"Net_acyclical": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"Net_acyclical": {
"nodes": {
diff --git a/examples/MDF/networks/Net_acyclical.yaml b/examples/MDF/networks/Net_acyclical.yaml
index 7514daad..8c273d84 100644
--- a/examples/MDF/networks/Net_acyclical.yaml
+++ b/examples/MDF/networks/Net_acyclical.yaml
@@ -1,6 +1,6 @@
Net_acyclical:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
Net_acyclical:
nodes:
diff --git a/examples/ONNX/ab.json b/examples/ONNX/ab.json
index b794dd5f..463234e6 100644
--- a/examples/ONNX/ab.json
+++ b/examples/ONNX/ab.json
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"main_graph": {
"nodes": {
diff --git a/examples/ONNX/ab.yaml b/examples/ONNX/ab.yaml
index 0373f730..84f020d7 100644
--- a/examples/ONNX/ab.yaml
+++ b/examples/ONNX/ab.yaml
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
main_graph:
nodes:
diff --git a/examples/ONNX/abc.json b/examples/ONNX/abc.json
index 2d47a12f..255b56e4 100644
--- a/examples/ONNX/abc.json
+++ b/examples/ONNX/abc.json
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"main_graph": {
"nodes": {
diff --git a/examples/ONNX/abc.yaml b/examples/ONNX/abc.yaml
index 873597fd..a50ef452 100644
--- a/examples/ONNX/abc.yaml
+++ b/examples/ONNX/abc.yaml
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
main_graph:
nodes:
diff --git a/examples/ONNX/abc_basic-mdf.json b/examples/ONNX/abc_basic-mdf.json
index 4f1c64af..81e734d5 100644
--- a/examples/ONNX/abc_basic-mdf.json
+++ b/examples/ONNX/abc_basic-mdf.json
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"main_graph": {
"nodes": {
diff --git a/examples/ONNX/abc_basic-mdf.yaml b/examples/ONNX/abc_basic-mdf.yaml
index 5aa4dd24..c221626d 100644
--- a/examples/ONNX/abc_basic-mdf.yaml
+++ b/examples/ONNX/abc_basic-mdf.yaml
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
main_graph:
nodes:
diff --git a/examples/ONNX/abcd.json b/examples/ONNX/abcd.json
index 7d55c96e..b2d0bf3a 100644
--- a/examples/ONNX/abcd.json
+++ b/examples/ONNX/abcd.json
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"main_graph": {
"nodes": {
diff --git a/examples/ONNX/abcd.yaml b/examples/ONNX/abcd.yaml
index 890c27f2..db7e458c 100644
--- a/examples/ONNX/abcd.yaml
+++ b/examples/ONNX/abcd.yaml
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
main_graph:
nodes:
diff --git a/examples/PyTorch/MDF_PyTorch/ABCD_pytorch.py b/examples/PyTorch/MDF_PyTorch/ABCD_pytorch.py
index 194286eb..1689758f 100644
--- a/examples/PyTorch/MDF_PyTorch/ABCD_pytorch.py
+++ b/examples/PyTorch/MDF_PyTorch/ABCD_pytorch.py
@@ -1,5 +1,5 @@
"""
-This script has been generated by modeci_mdf v0.4.15.
+This script has been generated by modeci_mdf v0.4.16.
It is an export of a MDF model (mdf.s - MDF stateful, i.e. full MDF allowing stateful parameters) to PyTorch
"""
diff --git a/examples/PyTorch/MDF_PyTorch/Arrays_pytorch.py b/examples/PyTorch/MDF_PyTorch/Arrays_pytorch.py
index dd4590e8..b3192ed9 100644
--- a/examples/PyTorch/MDF_PyTorch/Arrays_pytorch.py
+++ b/examples/PyTorch/MDF_PyTorch/Arrays_pytorch.py
@@ -1,5 +1,5 @@
"""
-This script has been generated by modeci_mdf v0.4.15.
+This script has been generated by modeci_mdf v0.4.16.
It is an export of a MDF model (mdf.s - MDF stateful, i.e. full MDF allowing stateful parameters) to PyTorch
"""
diff --git a/examples/PyTorch/MDF_PyTorch/Simple_pytorch.py b/examples/PyTorch/MDF_PyTorch/Simple_pytorch.py
index d9792093..afbc3c84 100644
--- a/examples/PyTorch/MDF_PyTorch/Simple_pytorch.py
+++ b/examples/PyTorch/MDF_PyTorch/Simple_pytorch.py
@@ -1,5 +1,5 @@
"""
-This script has been generated by modeci_mdf v0.4.15.
+This script has been generated by modeci_mdf v0.4.16.
It is an export of a MDF model (mdf.s - MDF stateful, i.e. full MDF allowing stateful parameters) to PyTorch
"""
diff --git a/examples/PyTorch/PyTorch_MDF/benchmark_script/squeezenet1_1_benchmark.json b/examples/PyTorch/PyTorch_MDF/benchmark_script/squeezenet1_1_benchmark.json
index 4558ea97..59bb4671 100644
--- a/examples/PyTorch/PyTorch_MDF/benchmark_script/squeezenet1_1_benchmark.json
+++ b/examples/PyTorch/PyTorch_MDF/benchmark_script/squeezenet1_1_benchmark.json
@@ -2,11 +2,11 @@
{
"model_name": "squeezenet1_1",
"model_type": "SqueezeNet",
- "pytorch_time": 0.0839,
+ "pytorch_time": 0.07,
"pytorch_predictions": 10,
- "mdf_time": 4.4275,
+ "mdf_time": 5.949,
"mdf_predictions": 10,
"node density": 66,
- "mdf : pytorch ratio": "52.79"
+ "mdf : pytorch ratio": "84.98"
}
]
diff --git a/examples/PyTorch/inception.json b/examples/PyTorch/inception.json
index 037884d5..d8f37fc2 100644
--- a/examples/PyTorch/inception.json
+++ b/examples/PyTorch/inception.json
@@ -1,7 +1,7 @@
{
"InceptionBlocks": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"InceptionBlocksGraph": {
"nodes": {
diff --git a/examples/PyTorch/mlp_pure_mdf.json b/examples/PyTorch/mlp_pure_mdf.json
index 797147cd..3b649add 100644
--- a/examples/PyTorch/mlp_pure_mdf.json
+++ b/examples/PyTorch/mlp_pure_mdf.json
@@ -1,7 +1,7 @@
{
"mlp_pure_mdf": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"mlp_pure_mdf": {
"nodes": {
diff --git a/examples/PyTorch/mlp_pure_mdf.yaml b/examples/PyTorch/mlp_pure_mdf.yaml
index b3a07b34..5f493d25 100644
--- a/examples/PyTorch/mlp_pure_mdf.yaml
+++ b/examples/PyTorch/mlp_pure_mdf.yaml
@@ -1,6 +1,6 @@
mlp_pure_mdf:
format: ModECI MDF v0.4
- generating_application: Python modeci-mdf v0.4.15
+ generating_application: Python modeci-mdf v0.4.16
graphs:
mlp_pure_mdf:
nodes:
diff --git a/examples/PyTorch/simple_pytorch_to_mdf.json b/examples/PyTorch/simple_pytorch_to_mdf.json
index e4544c13..c43a63dc 100644
--- a/examples/PyTorch/simple_pytorch_to_mdf.json
+++ b/examples/PyTorch/simple_pytorch_to_mdf.json
@@ -1,7 +1,7 @@
{
"SimpleNet": {
"format": "ModECI MDF v0.4",
- "generating_application": "Python modeci-mdf v0.4.15",
+ "generating_application": "Python modeci-mdf v0.4.16",
"graphs": {
"SimpleNetGraph": {
"nodes": {
From 8f23f8d035a79b54362868ab59e8cc2c7a3e3594 Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 19 Aug 2026 17:51:33 +0100
Subject: [PATCH 12/12] General cleanup of pyproject.toml
---
pyproject.toml | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index e88eabcb..a474f792 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@ name = "modeci-mdf"
dynamic = ["version"]
description = "ModECI (Model Exchange and Convergence Initiative) Model Description Format"
readme = "README.md"
-requires-python = ">=3.9"
+requires-python = ">=3.10"
license = {text = "LGPLv3"}
authors = [
{name = "ModECI contributors", email = "p.gleeson@gmail.com"},
@@ -25,9 +25,7 @@ classifiers = [
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
- "Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
- "Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
@@ -35,7 +33,6 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
- "Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Typing :: Typed",
]
@@ -93,7 +90,6 @@ optional = [
"netron",
"torch>=1.11.0",
"torchvision",
- "h5py",
]
all_except_psyneulink = [
@@ -145,9 +141,6 @@ exclude = ["tests", "examples"]
[tool.setuptools.dynamic]
version = {attr = "modeci_mdf.__version__"}
-#[tool.setuptools_scm]
-#write_to = "src/modeci_mdf/version.py"
-
[tool.pytest.ini_options]
junit_family = "xunit2"
addopts = "--benchmark-disable -Wd --strict-markers"
@@ -157,7 +150,7 @@ required_plugins = ["pytest-benchmark"]
markers = [
"coremdf: marks tests which are core to the MDF specification",
"actr: marks tests which require ACT-R to be installed.",
- "pytorch: marks test which require PyTorch to be installed.')",
+ "pytorch: marks tests which require PyTorch to be installed.",
"psyneulink: marks tests which require PsyNueLink to be installed.",
"neuroml: marks tests which require NeuroML to be installed.",
"tensorflow: marks tests which require TensorFlow to be installed.",
@@ -183,7 +176,7 @@ per-file-ignores = [
[tool.mypy]
warn_unused_configs = true
-python_version = "3.6"
+python_version = "3.10"
files = ["src"]
disallow_any_generics = true
disallow_subclassing_any = true