File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 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
11421143186768 :
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
11491151189922 :
11501152 python : true
11511153 run :
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
11641167139421 :
11651168 python : true
11661169 run :
11671170 - import os; os.system("python mosinit.py"); quit();
11681171 script :
11691172 - 2to3 -w .
1173+ - sed -i -e 's/tstop = /tstop = 10#/g' mosinit.py
11701174144586 :
11711175 python : true
11721176 run :
11731177 - import os; os.system("python mosinit.py"); quit();
11741178 script :
11751179 - 2to3 -w .
1180+ - sed -i 's/nq = anet.randruns(/nq = anet.randruns(1000)#/g' mosinit.py
11761181244412 :
11771182 python : true
11781183 model_dir : mod_files
11941199 script :
11951200 - 2to3 -w .
11961201 - sed -i "s/f = open(fname)/f = open(fname,'rb')/g" fig2a_show.py
1202+ - sed -i 's/plt.show()/plt.show(block=False);plt.pause(1);plt.close()/g' fig2a_show.py
11971203249404 :
11981204 python : true
11991205 run :
12041210 - import os; os.system("python mosinit.py"); quit();
12051211 script :
12061212 - 2to3 -w .
1213+ - sed -i 's/pyl.show()/pyl.show(block=False);pyl.pause(1);pyl.close()/g' model.py
12071214# find * -name run.py
12081215144511 :
12091216 python : true
12121219 script :
12131220 - 2to3 -w .
12141221229276 :
1215- python : true
12161222 model_dir : mechanisms
1217- run :
1218- - import os; os.system("python run.py"); quit();
12191223 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
1224+ - sed -i -e 's/tstop=/tstop=100\/\//g' createsimulation.hoc
12221225151282 :
12231226 python : true
12241227 model_dir : .
12421245 - import os; os.system("python run.py param/gamma_L5weak_L2weak.param"); quit();
12431246 script :
12441247 - sed -i 's/from mpi4py/#from mpi4py/g' run.py
1248+ - sed -i "s/nrn.tstop =/nrn.tstop = 50#/g" run.py
Original file line number Diff line number Diff line change 1818 'scipy' ,
1919 '2to3' ,
2020 'reindent' ,
21+ 'h5py'
2122]
2223
2324with open ('README.md' , 'r' , encoding = 'utf-8' ) as f :
You can’t perform that action at this time.
0 commit comments