Skip to content

Commit 71aa41f

Browse files
author
Christos Kotsalos
committed
Add more python models to the modeldb-run.yaml : WIP
1 parent 343f03e commit 71aa41f

File tree

1 file changed

+66
-58
lines changed

1 file changed

+66
-58
lines changed

modeldb/modeldb-run.yaml

Lines changed: 66 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,13 +1129,17 @@
11291129
- import os; os.system("python mosinit.py"); quit();
11301130
script:
11311131
- 2to3 -w .
1132-
#194897: Dura-BernalEtAl2017
1133-
# python: true
1134-
# run:
1135-
# - import os; os.system("python mosinit.py"); quit();
1136-
# script:
1137-
# - 2to3 -w .
1138-
# - reindent .
1132+
194897:
1133+
python: true
1134+
run:
1135+
- import os; os.system("python mosinit.py"); quit();
1136+
script:
1137+
- 2to3 -w .
1138+
- reindent .
1139+
- sed -i 's/figure, hold, isscalar/figure, isscalar/g;s/hold(True)/#hold(True)/g' analysis.py
1140+
- sed -i 's/hashlib.md5(obj)/hashlib.md5(obj.encode("utf-8"))/g' shared.py
1141+
- sed -i 's/cell.t0 = .0/#cell.t0 = .0/g' izhi.py
1142+
- sed -i "s/list(range(s.motorCmdStartCell/list(np.arange(s.motorCmdStartCell/g;s/s.nMuscles))))/s.nMuscles),dtype=int)))/g;s/'w'/'wb'/g;39iimport numpy as np" network.py
11391143
226422:
11401144
python: true
11411145
run:
@@ -1149,20 +1153,18 @@
11491153
script:
11501154
- 2to3 -w .
11511155
- reindent .
1152-
#189922: ClayEtAl2008
1153-
# python: true
1154-
# run:
1155-
# - import os; os.system("python mosinit.py"); quit();
1156-
# script:
1157-
# - 2to3 -w .
1158-
# - reindent .
1159-
# - sed -i 's/plt.show()/plt.show(block=False);plt.pause(1);plt.close();quit()/' clay_mohit.py
1160-
#195615: spidemo
1161-
# python: true
1162-
# run:
1163-
# - import os; os.system("python mosinit.py"); quit();
1164-
# script:
1165-
# - 2to3 -w .
1156+
189922:
1157+
python: true
1158+
run:
1159+
- import os; os.system("python mosinit.py"); quit();
1160+
195615:
1161+
python: true
1162+
run:
1163+
- import os; os.system("python sim.py PTcell.cfg"); quit();
1164+
script:
1165+
- 2to3 -w .
1166+
- reindent .
1167+
- 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
11661168
139421:
11671169
python: true
11681170
run:
@@ -1175,24 +1177,27 @@
11751177
- import os; os.system("python mosinit.py"); quit();
11761178
script:
11771179
- 2to3 -w .
1178-
#244412: SolinasEtAl2019
1179-
# python: true
1180-
# run:
1181-
# - import os; os.system("python mosinit.py"); quit();
1182-
# script:
1183-
# - 2to3 -w .
1180+
244412:
1181+
python: true
1182+
model_dir: mod_files
1183+
run:
1184+
- import os; os.system("python mosinit.py"); quit();
1185+
script:
1186+
- 2to3 -w .
1187+
- sed -i 's/Run_GUI/run_GUI/g' mosinit.py
11841188
39948:
11851189
python: true
11861190
run:
11871191
- import os; os.system("python mosinit.py"); quit();
11881192
script:
11891193
- 2to3 -w .
1190-
#195569: HuangEtAl2015
1191-
# python: true
1192-
# run:
1193-
# - import os; os.system("python mosinit.py"); quit();
1194-
# script:
1195-
# - 2to3 -w .
1194+
195569:
1195+
python: true
1196+
run:
1197+
- import os; os.system("python mosinit.py"); quit();
1198+
script:
1199+
- 2to3 -w .
1200+
- sed -i "s/f = open(fname)/f = open(fname,'rb')/g" fig2a_show.py
11961201
249404:
11971202
python: true
11981203
run:
@@ -1210,29 +1215,32 @@
12101215
- import os; os.system("python run.py"); quit();
12111216
script:
12121217
- 2to3 -w .
1213-
#229276: Final
1214-
# python: true
1215-
# run:
1216-
# - import os; os.system("python run.py"); quit();
1217-
# script:
1218-
# - 2to3 -w .
1219-
#151282: ca3ihdemo
1220-
# python: true
1221-
# run:
1222-
# - import os; os.system("python run.py"); quit();
1223-
# script:
1224-
# - 2to3 -w .
1225-
#264834:
1226-
# python: true
1227-
# run:
1228-
# - import os; os.system("python run.py --plot 1"); quit();
1229-
# script:
1230-
# - 2to3 -w .
1231-
#151685:
1232-
# python: true
1233-
# run:
1234-
# - import os; os.system("python run.py param/gamma_L5weak_L2weak.param"); quit();
1235-
# script:
1236-
# - 2to3 -w .
1218+
229276:
1219+
python: true
1220+
model_dir: mechanisms
1221+
run:
1222+
- import os; os.system("python run.py"); quit();
1223+
script:
1224+
- 2to3 -w .
1225+
- 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
1226+
151282:
1227+
python: true
1228+
model_dir: .
1229+
run:
1230+
- import os; os.system("python sim.py"); quit();
1231+
script:
1232+
- 2to3 -w .
1233+
- reindent .
1234+
264834:
1235+
python: true
1236+
model_dir: mechanisms
1237+
run:
1238+
- import os; os.system("python run.py --plot trace"); quit();
1239+
script:
1240+
- 2to3 -w .
1241+
151685:
1242+
python: true
1243+
model_dir: mod
1244+
run:
1245+
- import os; os.system("python run.py param/gamma_L5weak_L2weak.param"); quit();
12371246
#241165: AberraEtAl2018
1238-

0 commit comments

Comments
 (0)