Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 6, 2023
1 parent 4a77806 commit 59e617f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeinterface/comparison/groundtruthstudy.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ def run_sorters(self, case_keys=None, engine="loop", engine_kwargs={}, keep=True
log_file = self.folder / "sortings" / "run_logs" / f"{self.key_to_str(key)}.json"
if log_file.exists():
log_file.unlink()

if sorter_folder_exists:
shutil.rmtree(sorter_folder)
shutil.rmtree(sorter_folder)

params = self.cases[key]["run_sorter_params"].copy()
# this ensure that sorter_name is given
Expand Down

0 comments on commit 59e617f

Please sign in to comment.