Skip to content

Commit ead235a

Browse files
authored
Merge pull request #15 from OpenSourceBrain/development
Adding <spikeThresh> for future nml validity
2 parents 2413bba + 406fc17 commit ead235a

32 files changed

+579
-561
lines changed

.github/workflows/non_omv.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
python-version: [ 3.7, 3.9 ]
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020

2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

.github/workflows/omv-ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,28 @@ on:
99

1010
jobs:
1111
build:
12-
13-
runs-on: ubuntu-latest
12+
name: Py${{ matrix.python-version }}, ${{ matrix.engine}} on ${{ matrix.runs-on }}
13+
runs-on: ${{ matrix.runs-on }}
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: [ 3.9 ]
17+
python-version: [ "3.10" ]
1818
engine: [ NEURON, jNeuroML, jNeuroML_NEURON, jNeuroML_NetPyNE, jNeuroML_EDEN, jNeuroML_validate ]
19+
runs-on: [ubuntu-latest, macos-latest ]
1920

2021
steps:
21-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2223

2324
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5
2526
with:
2627
python-version: ${{ matrix.python-version }}
2728

29+
- name: Install HDF5 for pytables on macos-latest
30+
if: ${{ matrix.runs-on == 'macos-latest' }}
31+
run: |
32+
brew install hdf5
33+
2834
- name: Install OMV
2935
run: |
3036
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
@@ -35,7 +41,6 @@ jobs:
3541
- name: Run OMV tests on engine ${{ matrix.engine }}
3642
run: |
3743
omv all -V --engine=${{ matrix.engine }}
38-
more NMC/NeuroML2/report*
3944
4045
- name: OMV final version info
4146
run: |

NMC/NeuroML2/.test.jnmleden.omt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ experiments:
1515
spike detection:
1616
method: threshold
1717
threshold: 0
18-
tolerance: 0.000860873175366194
18+
tolerance: 0.000860898645740264
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<Lems>
2-
2+
33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v0.7.2 (libNeuroML v0.4.1)
5+
This LEMS file has been automatically generated using PyNeuroML v1.2.13 (libNeuroML v0.5.9)
66
77
-->
8-
8+
99
<!-- Specify which component to run -->
10-
<Target component="L1_HAC_cNAC187_1" reportFile="report.l1.__SIMULATOR__.txt"/>
10+
<Target component="L1_HAC_cNAC187_1" reportFile="report.L1_HAC.__SIMULATOR__.txt"/>
1111

1212
<!-- Include core NeuroML2 ComponentType definitions -->
1313
<Include file="Cells.xml"/>
1414
<Include file="Networks.xml"/>
1515
<Include file="Simulation.xml"/>
16-
16+
1717
<Include file="cNAC187_L1_HAC_f8c9772d9d.stepcurrent3.net.nml"/>
1818
<Include file="cNAC187_L1_HAC_f8c9772d9d_0_0.cell.nml"/>
1919
<Include file="K_Tst.channel.nml"/>
@@ -29,17 +29,16 @@
2929
<Include file="CaDynamics_E2_NML2.nml"/>
3030
<Include file="Ca_LVAst.channel.nml"/>
3131
<Include file="Ca.channel.nml"/>
32-
33-
<Simulation id="L1_HAC_cNAC187_1" length="3000ms" step="0.025ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
34-
32+
33+
<Simulation id="L1_HAC_cNAC187_1" length="3000.0ms" step="0.025ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
3534
<Display id="DispPop__Pop_cNAC187_L1_HAC_f8c9772d9d_0_0" title="Membrane potentials of cells in Pop_cNAC187_L1_HAC_f8c9772d9d_0_0" timeScale="1ms" xmin="-300.0" xmax="3300.0000000000005" ymin="-90" ymax="50">
3635
<Line id="Pop_cNAC187_L1_HAC_f8c9772d9d_0_0[0]: v" quantity="Pop_cNAC187_L1_HAC_f8c9772d9d_0_0/0/cNAC187_L1_HAC_f8c9772d9d_0_0/v" scale="1mV" color="#d54f33" timeScale="1ms"/>
3736
</Display>
38-
37+
3938
<OutputFile id="Volts_file__Pop_cNAC187_L1_HAC_f8c9772d9d_0_0" fileName="L1_HAC_cNAC187_1.Pop_cNAC187_L1_HAC_f8c9772d9d_0_0.v.dat">
40-
<OutputColumn id="v_Pop_cNAC187_L1_HAC_f8c9772d9d_0_0_0_cNAC187_L1_HAC_f8c9772d9d_0_0_v" quantity="Pop_cNAC187_L1_HAC_f8c9772d9d_0_0/0/cNAC187_L1_HAC_f8c9772d9d_0_0/v"/>
39+
<OutputColumn id="v_Pop_cNAC187_L1_HAC_f8c9772d9d_0_0_0_cNAC187_L1_HAC_f8c9772d9d_0_0_v" quantity="Pop_cNAC187_L1_HAC_f8c9772d9d_0_0/0/cNAC187_L1_HAC_f8c9772d9d_0_0/v"/>
4140
</OutputFile>
42-
41+
4342
</Simulation>
4443

4544
</Lems>
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<Lems>
2-
2+
33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v0.7.2 (libNeuroML v0.4.1)
5+
This LEMS file has been automatically generated using PyNeuroML v1.2.13 (libNeuroML v0.5.9)
66
77
-->
8-
8+
99
<!-- Specify which component to run -->
10-
<Target component="L23_LBC_cSTUT189_1" reportFile="report.lbc.__SIMULATOR__.txt"/>
10+
<Target component="L23_LBC_cSTUT189_1" reportFile="report.L23_LBC.__SIMULATOR__.txt"/>
1111

1212
<!-- Include core NeuroML2 ComponentType definitions -->
1313
<Include file="Cells.xml"/>
1414
<Include file="Networks.xml"/>
1515
<Include file="Simulation.xml"/>
16-
16+
1717
<Include file="cSTUT189_L23_LBC_e6e8f83407.stepcurrent3.net.nml"/>
1818
<Include file="cSTUT189_L23_LBC_e6e8f83407_0_0.cell.nml"/>
1919
<Include file="K_Tst.channel.nml"/>
@@ -30,17 +30,16 @@
3030
<Include file="CaDynamics_E2_NML2.nml"/>
3131
<Include file="Ca_LVAst.channel.nml"/>
3232
<Include file="Ca.channel.nml"/>
33-
34-
<Simulation id="L23_LBC_cSTUT189_1" length="3000ms" step="0.025ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
35-
33+
34+
<Simulation id="L23_LBC_cSTUT189_1" length="3000.0ms" step="0.025ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
3635
<Display id="DispPop__Pop_cSTUT189_L23_LBC_e6e8f83407_0_0" title="Membrane potentials of cells in Pop_cSTUT189_L23_LBC_e6e8f83407_0_0" timeScale="1ms" xmin="-300.0" xmax="3300.0000000000005" ymin="-90" ymax="50">
3736
<Line id="Pop_cSTUT189_L23_LBC_e6e8f83407_0_0[0]: v" quantity="Pop_cSTUT189_L23_LBC_e6e8f83407_0_0/0/cSTUT189_L23_LBC_e6e8f83407_0_0/v" scale="1mV" color="#d54f33" timeScale="1ms"/>
3837
</Display>
39-
38+
4039
<OutputFile id="Volts_file__Pop_cSTUT189_L23_LBC_e6e8f83407_0_0" fileName="L23_LBC_cSTUT189_1.Pop_cSTUT189_L23_LBC_e6e8f83407_0_0.v.dat">
41-
<OutputColumn id="v_Pop_cSTUT189_L23_LBC_e6e8f83407_0_0_0_cSTUT189_L23_LBC_e6e8f83407_0_0_v" quantity="Pop_cSTUT189_L23_LBC_e6e8f83407_0_0/0/cSTUT189_L23_LBC_e6e8f83407_0_0/v"/>
40+
<OutputColumn id="v_Pop_cSTUT189_L23_LBC_e6e8f83407_0_0_0_cSTUT189_L23_LBC_e6e8f83407_0_0_v" quantity="Pop_cSTUT189_L23_LBC_e6e8f83407_0_0/0/cSTUT189_L23_LBC_e6e8f83407_0_0/v"/>
4241
</OutputFile>
43-
42+
4443
</Simulation>
4544

4645
</Lems>
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<Lems>
2-
2+
33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v0.7.2 (libNeuroML v0.4.1)
5+
This LEMS file has been automatically generated using PyNeuroML v1.2.13 (libNeuroML v0.5.9)
66
77
-->
8-
8+
99
<!-- Specify which component to run -->
10-
<Target component="L23_NBC_cNAC187_1" reportFile="report.l23ncb.__SIMULATOR__.txt"/>
10+
<Target component="L23_NBC_cNAC187_1" reportFile="report.L23_NBC.__SIMULATOR__.txt"/>
1111

1212
<!-- Include core NeuroML2 ComponentType definitions -->
1313
<Include file="Cells.xml"/>
1414
<Include file="Networks.xml"/>
1515
<Include file="Simulation.xml"/>
16-
16+
1717
<Include file="cNAC187_L23_NBC_9d37c4b1f8.stepcurrent3.net.nml"/>
1818
<Include file="cNAC187_L23_NBC_9d37c4b1f8_0_0.cell.nml"/>
1919
<Include file="K_Tst.channel.nml"/>
@@ -29,17 +29,16 @@
2929
<Include file="CaDynamics_E2_NML2.nml"/>
3030
<Include file="Ca_LVAst.channel.nml"/>
3131
<Include file="Ca.channel.nml"/>
32-
33-
<Simulation id="L23_NBC_cNAC187_1" length="3000ms" step="0.01ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
34-
32+
33+
<Simulation id="L23_NBC_cNAC187_1" length="3000.0ms" step="0.01ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
3534
<Display id="DispPop__Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0" title="Membrane potentials of cells in Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0" timeScale="1ms" xmin="-300.0" xmax="3300.0000000000005" ymin="-90" ymax="50">
3635
<Line id="Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0[0]: v" quantity="Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0/0/cNAC187_L23_NBC_9d37c4b1f8_0_0/v" scale="1mV" color="#d54f33" timeScale="1ms"/>
3736
</Display>
38-
37+
3938
<OutputFile id="Volts_file__Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0" fileName="L23_NBC_cNAC187_1.Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0.v.dat">
40-
<OutputColumn id="v_Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0_0_cNAC187_L23_NBC_9d37c4b1f8_0_0_v" quantity="Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0/0/cNAC187_L23_NBC_9d37c4b1f8_0_0/v"/>
39+
<OutputColumn id="v_Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0_0_cNAC187_L23_NBC_9d37c4b1f8_0_0_v" quantity="Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0/0/cNAC187_L23_NBC_9d37c4b1f8_0_0/v"/>
4140
</OutputFile>
42-
41+
4342
</Simulation>
4443

4544
</Lems>
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<Lems>
2-
2+
33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v0.7.2 (libNeuroML v0.4.1)
5+
This LEMS file has been automatically generated using PyNeuroML v1.2.13 (libNeuroML v0.5.9)
66
77
-->
8-
8+
99
<!-- Specify which component to run -->
10-
<Target component="L23_PC_cADpyr229_1" reportFile="report.l23.__SIMULATOR__.txt"/>
10+
<Target component="L23_PC_cADpyr229_1" reportFile="report.L23_PC.__SIMULATOR__.txt"/>
1111

1212
<!-- Include core NeuroML2 ComponentType definitions -->
1313
<Include file="Cells.xml"/>
1414
<Include file="Networks.xml"/>
1515
<Include file="Simulation.xml"/>
16-
16+
1717
<Include file="cADpyr229_L23_PC_5ecbf9b163.stepcurrent3.net.nml"/>
1818
<Include file="cADpyr229_L23_PC_5ecbf9b163_0_0.cell.nml"/>
1919
<Include file="pas.channel.nml"/>
@@ -29,17 +29,16 @@
2929
<Include file="K_Pst.channel.nml"/>
3030
<Include file="CaDynamics_E2_NML2.nml"/>
3131
<Include file="Ca_LVAst.channel.nml"/>
32-
33-
<Simulation id="L23_PC_cADpyr229_1" length="3000ms" step="0.025ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
34-
32+
33+
<Simulation id="L23_PC_cADpyr229_1" length="3000.0ms" step="0.025ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
3534
<Display id="DispPop__Pop_cADpyr229_L23_PC_5ecbf9b163_0_0" title="Membrane potentials of cells in Pop_cADpyr229_L23_PC_5ecbf9b163_0_0" timeScale="1ms" xmin="-300.0" xmax="3300.0000000000005" ymin="-90" ymax="50">
3635
<Line id="Pop_cADpyr229_L23_PC_5ecbf9b163_0_0[0]: v" quantity="Pop_cADpyr229_L23_PC_5ecbf9b163_0_0/0/cADpyr229_L23_PC_5ecbf9b163_0_0/v" scale="1mV" color="#d54f33" timeScale="1ms"/>
3736
</Display>
38-
37+
3938
<OutputFile id="Volts_file__Pop_cADpyr229_L23_PC_5ecbf9b163_0_0" fileName="L23_PC_cADpyr229_1.Pop_cADpyr229_L23_PC_5ecbf9b163_0_0.v.dat">
40-
<OutputColumn id="v_Pop_cADpyr229_L23_PC_5ecbf9b163_0_0_0_cADpyr229_L23_PC_5ecbf9b163_0_0_v" quantity="Pop_cADpyr229_L23_PC_5ecbf9b163_0_0/0/cADpyr229_L23_PC_5ecbf9b163_0_0/v"/>
39+
<OutputColumn id="v_Pop_cADpyr229_L23_PC_5ecbf9b163_0_0_0_cADpyr229_L23_PC_5ecbf9b163_0_0_v" quantity="Pop_cADpyr229_L23_PC_5ecbf9b163_0_0/0/cADpyr229_L23_PC_5ecbf9b163_0_0/v"/>
4140
</OutputFile>
42-
41+
4342
</Simulation>
4443

4544
</Lems>
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<Lems>
2-
2+
33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v0.7.2 (libNeuroML v0.4.1)
5+
This LEMS file has been automatically generated using PyNeuroML v1.2.13 (libNeuroML v0.5.9)
66
77
-->
8-
8+
99
<!-- Specify which component to run -->
10-
<Target component="L5_TTPC1_cADpyr232_1" reportFile="report.l5.__SIMULATOR__.txt"/>
10+
<Target component="L5_TTPC1_cADpyr232_1" reportFile="report.L5_TTPC1.__SIMULATOR__.txt"/>
1111

1212
<!-- Include core NeuroML2 ComponentType definitions -->
1313
<Include file="Cells.xml"/>
1414
<Include file="Networks.xml"/>
1515
<Include file="Simulation.xml"/>
16-
16+
1717
<Include file="cADpyr232_L5_TTPC1_0fb1ca4724.stepcurrent3.net.nml"/>
1818
<Include file="cADpyr232_L5_TTPC1_0fb1ca4724_0_0.cell.nml"/>
1919
<Include file="pas.channel.nml"/>
@@ -29,17 +29,16 @@
2929
<Include file="K_Pst.channel.nml"/>
3030
<Include file="CaDynamics_E2_NML2.nml"/>
3131
<Include file="Ca_LVAst.channel.nml"/>
32-
33-
<Simulation id="L5_TTPC1_cADpyr232_1" length="3000ms" step="0.025ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
34-
32+
33+
<Simulation id="L5_TTPC1_cADpyr232_1" length="3000.0ms" step="0.025ms" target="network" seed="1234"> <!-- Note seed: ensures same random numbers used every run -->
3534
<Display id="DispPop__Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0" title="Membrane potentials of cells in Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0" timeScale="1ms" xmin="-300.0" xmax="3300.0000000000005" ymin="-90" ymax="50">
3635
<Line id="Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0[0]: v" quantity="Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0/0/cADpyr232_L5_TTPC1_0fb1ca4724_0_0/v" scale="1mV" color="#d54f33" timeScale="1ms"/>
3736
</Display>
38-
37+
3938
<OutputFile id="Volts_file__Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0" fileName="L5_TTPC1_cADpyr232_1.Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0.v.dat">
40-
<OutputColumn id="v_Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0_0_cADpyr232_L5_TTPC1_0fb1ca4724_0_0_v" quantity="Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0/0/cADpyr232_L5_TTPC1_0fb1ca4724_0_0/v"/>
39+
<OutputColumn id="v_Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0_0_cADpyr232_L5_TTPC1_0fb1ca4724_0_0_v" quantity="Pop_cADpyr232_L5_TTPC1_0fb1ca4724_0_0/0/cADpyr232_L5_TTPC1_0fb1ca4724_0_0/v"/>
4140
</OutputFile>
42-
41+
4342
</Simulation>
4443

4544
</Lems>

NMC/NeuroML2/bAC217_L4_MC_5fa0a62bd0_0_0.cell.nml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22579,6 +22579,7 @@ For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/micr
2257922579
<inhomogeneousValue value="1e4 * ((-0.869600 + 2.087000*exp((p--1000.000000)*-0.003000))*0.000371)" inhomogeneousParameter="PathLengthOver_apical"/>
2258022580
</variableParameter>
2258122581
</channelDensityNonUniform>
22582+
<spikeThresh value="10mV"/>
2258222583
<specificCapacitance segmentGroup="basal" value="1.0 uF_per_cm2"/>
2258322584
<specificCapacitance segmentGroup="apical" value="1.0 uF_per_cm2"/>
2258422585
<specificCapacitance segmentGroup="axonal" value="1.0 uF_per_cm2"/>

NMC/NeuroML2/bNAC219_L1_DAC_a9ae5cbbf5_0_0.cell.nml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5323,6 +5323,7 @@ For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/micr
53235323
<inhomogeneousValue value="1e4 * ((-0.869600 + 2.087000*exp((p-0.000000)*0.003000))*0.000049)" inhomogeneousParameter="PathLengthOver_apical"/>
53245324
</variableParameter>
53255325
</channelDensityNonUniform>
5326+
<spikeThresh value="10mV"/>
53265327
<specificCapacitance segmentGroup="basal" value="1.0 uF_per_cm2"/>
53275328
<specificCapacitance segmentGroup="apical" value="1.0 uF_per_cm2"/>
53285329
<specificCapacitance segmentGroup="axonal" value="1.0 uF_per_cm2"/>

0 commit comments

Comments
 (0)