File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 6565 cd CellTypesDatabase/models
6666 nrnivmodl NEURON
6767
68- echo "Parsing all .."
68+ echo "----- Parsing perisomatic .."
6969 python ParseAll.py
70+ echo "----- Parsing all active.."
71+ python ParseAll.py -all_active
7072 ls -alt NeuroML2
7173
7274 - name : Tune data
Original file line number Diff line number Diff line change 4747
4848print ("PA >> Parsing cell dirs: %s" % cell_dirs )
4949
50+ do_all_active = '-all_active' in sys .argv
51+
52+ completed = []
5053for model_id in cell_dirs :
5154
5255 count += 1
6568
6669 # configure NEURON
6770 if all_active :
68- #continue # skip this...
71+ if not do_all_active :
72+ print ('Not proceeding with this file...' )
73+ continue # skip this...
6974 utils = AllActiveUtils (description , axon_type = 'stub' ) # all-active type
7075 else :
71- continue # skip this...
76+ if do_all_active :
77+ print ('Not proceeding with this file...' )
78+ continue # skip this...
7279 utils = Utils (description ) # perisomatic type
7380
7481
391398 inst .location = neuroml .Location (x = 300 * X , y = 0 , z = 300 * Z )
392399
393400 print ('PA >> Adding to network of all cells at: %s' % inst .location )
401+ completed .append (model_id )
394402
395403
396404net_file = '%s/%s.net.nml' % (nml2_cell_dir ,net_ref )
400408
401409pynml .nml2_to_svg (net_file , verbose = False )
402410
403- print ("PA >> Finished parsing cell dirs: %s" % cell_dirs )
411+ print ("PA >> Finished parsing cell dirs: %s" % completed )
You can’t perform that action at this time.
0 commit comments