-
Notifications
You must be signed in to change notification settings - Fork 10
102 lines (79 loc) · 2.41 KB
/
non-omv.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
name: Testing non OMV based scripts
on:
push:
branches: [ master, development, experimental, pg*, add* ]
pull_request:
branches: [ master, development, experimental, pg*, add* ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.8, 3.9, "3.10" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install OMV
run: |
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
- name: Download some data
run: |
pip install allensdk==2.15.2
cd CellTypesDatabase/data
python download.py -test
ls -alt
- name: Analyse data
run: |
cd CellTypesDatabase/data
pip install pyelectro
python extract_data.py -test
- name: Generate plots of data
run: |
cd CellTypesDatabase/data
pip install pyneuroml airspeed
python data_summary.py -test
- name: Download selected NEURON models
run: |
pip install neuron
cd CellTypesDatabase/models
pip install markupsafe==2.0.1
python download.py
ls -alt 4*
echo "Downloading GLIF models"
cd GLIF
python download_glif.py -test
- name: Simulate selected NEURON models
run: |
echo "Simulating a GLIF cell"
cd CellTypesDatabase/models/GLIF
python run_glif.py -test
- name: Extract NeuroML2 models from NEURON files
run: |
cd CellTypesDatabase/models
nrnivmodl NEURON
echo "----- Parsing perisomatic and all active.."
python ParseAll.py -all_active
ls -alt NeuroML2
echo "----- Parsing GLIF.."
cd GLIF
pip install git+https://github.com/OpenSourceBrain/OpenCortex
export NEURON_HOME=$pythonLocation
python parse_glif.py -test
- name: Tune data
run: |
cd CellTypesDatabase/tune
git clone https://github.com/NeuralEnsemble/neurotune.git
cd neurotune/
pip install .
cd ..
rm -rf neurotune
export NEURON_HOME=$pythonLocation
python tuneAllen.py -izhone
- name: Final version info
run: |
pip list
env