Skip to content

Commit df84622

Browse files
committed
Use latest modelspec; regenerated some examples
1 parent 53acb7c commit df84622

File tree

5 files changed

+44
-3
lines changed

5 files changed

+44
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,4 @@ report*.txt
184184

185185
docs/_build
186186
/*ken.sh
187+
/examples/Example10_Lorenz.mdf.json

examples/Example10_Lorenz.mdf.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
Example10_Lorenz:
2+
format: ModECI MDF v0.3
3+
graphs:
4+
Example10_Lorenz:
5+
notes: 'Example 10: Lorenz'
6+
nodes:
7+
lorenzPop_0:
8+
parameters:
9+
sigma:
10+
value: 10.0
11+
b:
12+
value: 2.67
13+
r:
14+
value: 28.0
15+
x0:
16+
value: 1.0
17+
y0:
18+
value: 1.0
19+
z0:
20+
value: 1.0
21+
sec:
22+
value: 1.0
23+
x:
24+
default_initial_value: x0
25+
time_derivative: ( sigma * (y - x) ) / sec
26+
y:
27+
default_initial_value: y0
28+
time_derivative: ( r * x - y - x * z ) / sec
29+
z:
30+
default_initial_value: z0
31+
time_derivative: ( x * y - b * z) / sec
32+
input_ports: {}
33+
output_ports: {}
34+
notes: "Cell: [Cell (lorenzCell), lems_source_file = test_files/Lorenz1963.xml,\
35+
\ parameters = {'sigma': 'sigma', 'b': 'b', 'r': 'r', 'x0':\
36+
\ 'x0', 'y0': 'y0', 'z0': 'z0'}] is defined in /home/padraig/NeuroMLlite/examples/test_files/Lorenz1963.xml\
37+
\ and in Lems is: Component, id: lorenzCell, type: lorenz,\n\
38+
\ parameters: {'sigma': '10', 'b': '2.67', 'r': '28', 'x0':\
39+
\ '1.0', 'y0': '1.0', 'z0': '1.0'}\n parent: None\n"
40+
edges: {}

examples/LEMS_SimExample3.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v0.5.18 (libNeuroML v0.2.58)
5+
This LEMS file has been automatically generated using PyNeuroML v0.5.18 (libNeuroML v0.3.1)
66
77
-->
88

examples/LEMS_SimExample4.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v0.5.18 (libNeuroML v0.2.58)
5+
This LEMS file has been automatically generated using PyNeuroML v0.5.18 (libNeuroML v0.3.1)
66
77
-->
88

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"pyyaml",
2323
"numpy",
2424
"pyparsing<3",
25-
"modelspec>=0.1.1"],
25+
"modelspec>=0.1.3"],
2626
classifiers=[
2727
"Intended Audience :: Science/Research",
2828
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",

0 commit comments

Comments
 (0)