Skip to content

Commit 0da5e9c

Browse files
authored
Merge pull request #30 from NeuroML/development
Mainly work on MDF support
2 parents df84622 + 411e6d5 commit 0da5e9c

38 files changed

+176
-127
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,22 @@ jobs:
8686
8787
- name: Install some simulators for testing
8888
run: |
89-
pip install cython
90-
if [[ ${{ matrix.python-version }} != 2.7 ]]; then omv install PyNEST; fi
89+
#pip install cython
9190
omv install NEURON
92-
omv install NetPyNE
91+
pip install NetPyNE # strange issues on py3.7 with omv install...
9392
omv install PyNN
93+
omv install jNeuroML
9494
omv install Brian2
95+
if [[ ${{ matrix.python-version }} != 2.7 ]]; then omv install PyNEST; fi
96+
omv list -V # list installed engines
9597
9698
- name: Run pytest
9799
run: |
98100
pip install pytest tables # tables for Sonata test file
99101
cd neuromllite/test/
100102
pytest -v
101103
102-
- name: Run tests
104+
- name: Regenerate and test
103105
run: |
104106
105107
export PATH=$PATH:$JNML_HOME
@@ -108,6 +110,10 @@ jobs:
108110
echo "===================="
109111
# All tests
110112
./regenerateAndTest.sh
113+
114+
- name: Run OMV tests
115+
run: |
116+
omv all -V --engine=jNeuroML_NEURON # limited for now, issues with nest...
111117
112118
- name: OMV final version info
113119
run: |

examples/BBP_5percent.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"BBP_5percent": {
3-
"version": "NeuroMLlite v0.4.1",
3+
"version": "NeuroMLlite v0.4.2",
44
"network_reader": {
55
"type": "BBPConnectomeReader",
66
"parameters": {

examples/Example10_Lorenz.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Example10_Lorenz": {
3-
"version": "NeuroMLlite v0.4.1",
3+
"version": "NeuroMLlite v0.4.2",
44
"parameters": {
55
"N": 1,
66
"sigma": 10,

examples/Example10_Lorenz.mdf.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,16 @@ Example10_Lorenz:
3030
default_initial_value: z0
3131
time_derivative: ( x * y - b * z) / sec
3232
input_ports: {}
33-
output_ports: {}
33+
output_ports:
34+
x:
35+
value: x
36+
y:
37+
value: y
38+
z:
39+
value: z
3440
notes: "Cell: [Cell (lorenzCell), lems_source_file = test_files/Lorenz1963.xml,\
3541
\ 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\
42+
\ 'x0', 'y0': 'y0', 'z0': 'z0'}] is defined in test_files/Lorenz1963.xml\
3743
\ and in Lems is: Component, id: lorenzCell, type: lorenz,\n\
3844
\ parameters: {'sigma': '10', 'b': '2.67', 'r': '28', 'x0':\
3945
\ '1.0', 'y0': '1.0', 'z0': '1.0'}\n parent: None\n"

examples/Example11_Synapses.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Example11_Synapses": {
3-
"version": "NeuroMLlite v0.4.1",
3+
"version": "NeuroMLlite v0.4.2",
44
"parameters": {
55
"input_amp": 0.23,
66
"weight": 1.01

examples/Example11_Synapses.net.nml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.2.xsd" id="Example11_Synapses">
2-
<notes>Generated by NeuroMLlite v0.4.1
2+
<notes>Generated by NeuroMLlite v0.4.2
33
Generated network: Example11_Synapses
44
Generation seed: 1234
55
NeuroMLlite parameters:

examples/Example1_TestNetwork.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"TestNetwork": {
3-
"version": "NeuroMLlite v0.4.1",
3+
"version": "NeuroMLlite v0.4.2",
44
"notes": "A simple network with 2 populations & projection between them. No info yet on what the cells are so network can't be simulated.",
55
"populations": {
66
"pop0": {

examples/Example2_TestNetwork.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Example2_TestNetwork": {
3-
"version": "NeuroMLlite v0.4.1",
3+
"version": "NeuroMLlite v0.4.2",
44
"notes": "A simple network with 2 populations & projection between them. Cells are specified to be NeuroML 2 HH cell models & pre population is given a spiking input.",
55
"cells": {
66
"hhcell": {

examples/Example2_TestNetwork.net.nml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.2.xsd" id="Example2_TestNetwork">
2-
<notes>Generated by NeuroMLlite v0.4.1
2+
<notes>Generated by NeuroMLlite v0.4.2
33
Generated network: Example2_TestNetwork
44
Generation seed: 1234</notes>
55
<include href="test_files/inputs.nml"/>

examples/Example3_Network.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Example3_Network": {
3-
"version": "NeuroMLlite v0.4.1",
3+
"version": "NeuroMLlite v0.4.2",
44
"notes": "Example 3: simple network with 2 populations of NeuroML2 cells, a projection between them and spiking input.",
55
"cells": {
66
"hhcell": {

0 commit comments

Comments
 (0)