Skip to content

Commit

Permalink
Adding tests on eden
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Apr 27, 2022
1 parent c496cf6 commit 5bdab46
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/omv-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,39 +15,39 @@ jobs:
fail-fast: false
matrix:
python-version: [ 3.7, 3.9 ]
engine: [ jNeuroML, jNeuroML_NEURON, jNeuroML_NetPyNE, jNeuroML_validate, jNeuroML_validatev1, Py_neuroConstruct ]
engine: [ jNeuroML, jNeuroML_NEURON, jNeuroML_NetPyNE, jNeuroML_EDEN, jNeuroML_validate, jNeuroML_validatev1, Py_neuroConstruct ]

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install OMV
run: |
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
pip install scipy sympy matplotlib cython pandas tables
- name: Make neuroConstruct synapses
if: ${{ matrix.engine == 'Py_neuroConstruct' }}
run: |
omv install Py_neuroConstruct
cd neuroConstruct/pythonScripts/netbuild/
./makeSyns.sh
- name: Run OMV tests on engine ${{ matrix.engine }}
run: |
omv all -V --engine=${{ matrix.engine }}
- name: Test more NetPyNE
if: ${{ matrix.engine == 'jNeuroML_NetPyNE' }}
run: |
cd NeuroML2/test
python LEMS_supbaskFigA2a_netpyne.py
- name: OMV final version info
run: |
omv list -V # list installed engines
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,6 @@ neuroConstruct/generatedNeuroML2/html
/NeuroML2/pythonScripts/netbuild/*.gv.pdf
/neuroConstruct/generatedNeuroML2/*.gv
/neuroConstruct/generatedNeuroML2/*.gv.pdf
*code.gen.c
*code.gen.so
*_eden.py
17 changes: 17 additions & 0 deletions neuroConstruct/generatedNeuroML2/.test.jnmleden.omt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation

target: LEMS_Thalamocortical.xml
engine: jNeuroML_EDEN
mep: .test.mep
experiments:
Current clamp:
observables:
spike times:
file:
path: CG_CML_0.0.dat
columns: [0,1]
scaling: [1, 1]
spike detection:
method: threshold
threshold: 0
tolerance: 0.0007431995540690988
17 changes: 17 additions & 0 deletions neuroConstruct/generatedNeuroML2/.test.soma.jnmleden.omt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation

target: LEMS_SomaTest.xml
engine: jNeuroML_EDEN
mep: .test.soma.mep
experiments:
Current clamp:
observables:
spike times:
file:
path: CG_tester_0.0.dat
columns: [0,1]
scaling: [1000, 1000]
spike detection:
method: threshold
threshold: 0
tolerance: 0.0009467738797742139

0 comments on commit 5bdab46

Please sign in to comment.