Skip to content

Commit 7b4cb67

Browse files
committed
* add h5py run dependency
* 229276 has mosinit.hoc * reduce sim times & close plots
1 parent 1a175c9 commit 7b4cb67

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

modeldb/modeldb-run.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,13 +1139,15 @@
11391139
- import os; os.system("python mosinit.py"); quit();
11401140
script:
11411141
- 2to3 -w .
1142+
- sed -i 's/pyplot.show()/pyplot.show(block=False);pyplot.pause(1);pyplot.close();quit()/' MAT_Neuron_StepCurrent.py
11421143
186768:
11431144
python: true
11441145
run:
11451146
- import os; os.system("python mosinit.py"); quit();
11461147
script:
11471148
- 2to3 -w .
11481149
- reindent .
1150+
- sed -i 's/tstop =/tstop = 100#/g' mosinit.py
11491151
189922:
11501152
python: true
11511153
run:
@@ -1161,6 +1163,7 @@
11611163
- 2to3 -w .
11621164
- reindent .
11631165
- sed -i "s/from time import time, clock/from time import time/g;67s/ exec(cmd)/ exec(cmd,globals())/;s/'w'/'wb'/g" sim.py
1166+
- sed -i "s/baset = /baset = 2900.0#/g" PTcell.cfg
11641167
139421:
11651168
python: true
11661169
run:
@@ -1173,6 +1176,7 @@
11731176
- import os; os.system("python mosinit.py"); quit();
11741177
script:
11751178
- 2to3 -w .
1179+
- sed -i 's/nq = anet.randruns(/nq = anet.randruns(1000)#/g' mosinit.py
11761180
244412:
11771181
python: true
11781182
model_dir: mod_files
@@ -1194,6 +1198,7 @@
11941198
script:
11951199
- 2to3 -w .
11961200
- sed -i "s/f = open(fname)/f = open(fname,'rb')/g" fig2a_show.py
1201+
- sed -i 's/plt.show()/plt.show(block=False);plt.pause(1);plt.close()/g' fig2a_show.py
11971202
249404:
11981203
python: true
11991204
run:
@@ -1204,6 +1209,7 @@
12041209
- import os; os.system("python mosinit.py"); quit();
12051210
script:
12061211
- 2to3 -w .
1212+
- sed -i 's/pyl.show()/pyl.show(block=False);pyl.pause(1);pyl.close()/g' model.py
12071213
# find * -name run.py
12081214
144511:
12091215
python: true
@@ -1212,13 +1218,9 @@
12121218
script:
12131219
- 2to3 -w .
12141220
229276:
1215-
python: true
12161221
model_dir: mechanisms
1217-
run:
1218-
- import os; os.system("python run.py"); quit();
12191222
script:
1220-
- 2to3 -w .
1221-
- sed -i 's/cADpyr232_L5_TTPC1_b6836fcf6f(1 if add_synapses else 0)/cADpyr232_L5_TTPC1_b6836fcf6f(1 if add_synapses else 0,1)/g' run.py
1223+
- sed -i -e 's/tstop=/tstop=100\/\//g' createsimulation.hoc
12221224
151282:
12231225
python: true
12241226
model_dir: .

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
'scipy',
1919
'2to3',
2020
'reindent',
21+
'h5py'
2122
]
2223

2324
with open('README.md', 'r', encoding='utf-8') as f:

0 commit comments

Comments
 (0)