Skip to content

Commit b0a702b

Browse files
committed
gitflow-hotfix-stash: 2.0.9
1 parent 83331d1 commit b0a702b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

ibllib/pipes/ephys_preprocessing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

release_notes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
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",

0 commit comments

Comments
 (0)