File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -139,18 +139,18 @@ def _run_pykilosort(self, ap_file):
139139 """
140140 self .version = self ._fetch_pykilosort_version (self .PYKILOSORT_REPO )
141141 label = ap_file .parts [- 2 ] # this is usually the probe name
142+ sorter_dir = self .session_path .joinpath ("spike_sorters" , self .SPIKE_SORTER_NAME , label )
142143 FORCE_RERUN = True
143144 if not FORCE_RERUN :
144145 if ap_file .parent .joinpath (f"spike_sorting_{ self .SPIKE_SORTER_NAME } .log" ).exists ():
145146 _logger .info (f"Already ran: spike_sorting_{ self .SPIKE_SORTER_NAME } .log"
146147 f" found for { ap_file } , skipping." )
147148 return ap_file .parent
148- sorter_dir = self .session_path .joinpath ("spike_sorters" , self .SPIKE_SORTER_NAME , label )
149- print (sorter_dir .joinpath (f"spike_sorting_{ self .SPIKE_SORTER_NAME } .log" ))
150149 if sorter_dir .joinpath (f"spike_sorting_{ self .SPIKE_SORTER_NAME } .log" ).exists ():
151150 _logger .info (f"Already ran: spike_sorting_{ self .SPIKE_SORTER_NAME } .log"
152151 f" found in { sorter_dir } , skipping." )
153152 return sorter_dir
153+ print (sorter_dir .joinpath (f"spike_sorting_{ self .SPIKE_SORTER_NAME } .log" ))
154154 # get the scratch drive from the shell script
155155 with open (self .SHELL_SCRIPT ) as fid :
156156 lines = fid .readlines ()
Original file line number Diff line number Diff line change 1818- ephyscellsqc: bugfix on probe creation for pykilosort subfolder
1919- task version 6.2.5 specific audio extractor
2020- camera times: index by video length when GPIO unstable
21- ### Release Notes 2.0.7 2021-09-17
21+ ### Release Notes 2.0.8 2021-09-17
22+ - spike sorting tasks re-run fully each time
23+ ### Release Notes 2.0.9 2021-09-19
2224- spike sorting tasks re-run fully each time
2325
2426### Release Notes 2.0.0 2021-08-04
Original file line number Diff line number Diff line change 2424
2525setup (
2626 name = 'ibllib' ,
27- version = '2.0.8 ' ,
27+ version = '2.0.9 ' ,
2828 python_requires = '>={}.{}' .format (* REQUIRED_PYTHON ),
2929 description = 'IBL libraries' ,
3030 license = "MIT" ,
You can’t perform that action at this time.
0 commit comments