File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-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 :
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
11761180244412 :
11771181 python : true
11781182 model_dir : mod_files
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
11971202249404 :
11981203 python : true
11991204 run :
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
12081214144511 :
12091215 python : true
12121218 script :
12131219 - 2to3 -w .
12141220229276 :
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
12221224151282 :
12231225 python : true
12241226 model_dir : .
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