Skip to content

Commit 66b69e7

Browse files
committed
Adding L23 interneuron: cNAC187_L23_NBC_9d37c4b1f8
Add tests for this cell Add tests of all cells on NetPyNE
1 parent 46f57cd commit 66b69e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+12471
-7
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ ChannelTest/*nrn.py
3131
ChannelTest/*.hoc
3232
ChannelTest/*.dat
3333
ChannelTest/*.log
34+
/NMC/NeuroML2/*_netpyne.py
35+
/NMC/NeuroML2/*_main.json

NMC/NEURON/.test.l23nbc.mep

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation
2+
3+
system: Testing L23nbc
4+
5+
experiments:
6+
stepcurrent3_0:
7+
expected:
8+
spike times: [741.775, 793.575, 846.775, 899.875, 952.775, 1005.575, 1058.175, 1110.675, 1162.975, 1215.275, 1267.575, 1319.775, 1371.975, 1424.175, 1476.375, 1528.675, 1580.875, 1633.175, 1685.575, 1737.975, 1790.475, 1842.975, 1895.475, 1948.175, 2000.775, 2053.575, 2106.375, 2159.175, 2212.075, 2264.975, 2317.975, 2371.075, 2424.075, 2477.275, 2530.4, 2583.6, 2636.8, 2690.1]
9+

NMC/NEURON/.test.l23nbc.nrn.omt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation
2+
3+
target: Test_L23_NBC.hoc
4+
engine: NEURON
5+
mep: .test.l23nbc.mep
6+
experiments:
7+
stepcurrent3_0:
8+
observables:
9+
spike times:
10+
file:
11+
path: hoc_recordings/soma_voltage.dat
12+
columns: [0,1]
13+
scaling: [1, 1]
14+
spike detection:
15+
method: threshold
16+
threshold: 0
17+
tolerance: 0

NMC/NEURON/Test_L23_NBC.hoc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
load_file("../parser/L23_NBC_cNAC187_1/loadcell.hoc")
3+
load_file("utils/cellCheck.hoc")
4+
// load_file("../NEURON/utils/cellCheck.hoc")
5+
6+
// For testing...
7+
8+
//forall {if (ismembrane("Ih")) { uninsert Ih } }
9+
//forall {if (ismembrane("Ca_HVA")) { uninsert Ca_HVA } }
10+
//forall {if (ismembrane("Ca_LVAst")) { uninsert Ca_LVAst } }
11+
//forall {if (ismembrane("Ca")) { uninsert Ca } }
12+
//forall {if (ismembrane("SKv3_1")) { uninsert SKv3_1 } }
13+
//forall {if (ismembrane("SK_E2")) { uninsert SK_E2 } }
14+
//forall {if (ismembrane("Nap_Et2")) { uninsert Nap_Et2 } }
15+
//forall {if (ismembrane("Im")) { uninsert Im } }
16+
//forall {if (ismembrane("K_Tst")) { uninsert K_Tst } }
17+
//forall {if (ismembrane("NaTa_t")) { uninsert NaTa_t } }
18+
//forall {if (ismembrane("K_Pst")) { uninsert K_Pst } }
19+
//forall {if (ismembrane("NaTs2_t")) { uninsert NaTs2_t } }
20+
21+
tstop=3000
22+
23+
create_recording()
24+
25+
create_stimulus("stepcurrent3")
26+
27+
psection()
28+
29+
simulate()
30+
31+
save_recording()
32+
33+
//quit()
34+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation
2+
3+
target: LEMS_L1_HAC_cNAC187_1.xml
4+
engine: jNeuroML_NetPyNE
5+
mep: ../NEURON/.test.l1.mep
6+
experiments:
7+
stepcurrent3_-25:
8+
observables:
9+
spike times:
10+
file:
11+
path: L1_HAC_cNAC187_1.Pop_cNAC187_L1_HAC_f8c9772d9d_0_0.v.dat
12+
columns: [0,1]
13+
scaling: [1000, 1000]
14+
spike detection:
15+
method: threshold
16+
threshold: -25
17+
tolerance: 0.00150330727601

NMC/NeuroML2/.test.l1.jnmlnrn.omt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ experiments:
1414
spike detection:
1515
method: threshold
1616
threshold: -25
17-
tolerance: 0.00111
17+
tolerance: 0.00103669914991
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation
2+
3+
target: LEMS_L23_PC_cADpyr229_1.xml
4+
engine: jNeuroML_NetPyNE
5+
mep: ../NEURON/.test.l23.mep
6+
experiments:
7+
stepcurrent3_0:
8+
observables:
9+
spike times:
10+
file:
11+
path: L23_PC_cADpyr229_1.Pop_cADpyr229_L23_PC_5ecbf9b163_0_0.v.dat
12+
columns: [0,1]
13+
scaling: [1000, 1000]
14+
spike detection:
15+
method: threshold
16+
threshold: 0
17+
tolerance: 0.00989843257597

NMC/NeuroML2/.test.l23.jnmlnrn.omt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ experiments:
1414
spike detection:
1515
method: threshold
1616
threshold: 0
17-
tolerance: 0.0158
17+
tolerance: 0.0156742403108
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation
2+
3+
target: LEMS_L23_NBC_cNAC187_1.xml
4+
engine: jNeuroML_NetPyNE
5+
mep: ../NEURON/.test.l23nbc.mep
6+
experiments:
7+
stepcurrent3_0:
8+
observables:
9+
spike times:
10+
file:
11+
path: L23_NBC_cNAC187_1.Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0.v.dat
12+
columns: [0,1]
13+
scaling: [1000, 1000]
14+
spike detection:
15+
method: threshold
16+
threshold: 0
17+
tolerance: 0.000787174306631
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation
2+
3+
target: LEMS_L23_NBC_cNAC187_1.xml
4+
engine: jNeuroML_NEURON
5+
mep: ../NEURON/.test.l23nbc.mep
6+
experiments:
7+
stepcurrent3_0:
8+
observables:
9+
spike times:
10+
file:
11+
path: L23_NBC_cNAC187_1.Pop_cNAC187_L23_NBC_9d37c4b1f8_0_0.v.dat
12+
columns: [0,1]
13+
scaling: [1000, 1000]
14+
spike detection:
15+
method: threshold
16+
threshold: 0
17+
tolerance: 0.00180571379436

0 commit comments

Comments
 (0)