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 8ab40db commit f56780d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spikeinterface/sorters/internal/spyking_circus2.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ def _run_from_folder(cls, sorter_output_folder, params, verbose):

## We get the labels for our peaks
mask = peak_labels > -1
sorting = NumpySorting.from_times_labels(selected_peaks["sample_index"][mask], peak_labels[mask].astype(int), sampling_rate)
sorting = NumpySorting.from_times_labels(
selected_peaks["sample_index"][mask], peak_labels[mask].astype(int), sampling_rate
)
clustering_folder = sorter_output_folder / "clustering"
if clustering_folder.exists():
shutil.rmtree(clustering_folder)
Expand Down

0 comments on commit f56780d

Please sign in to comment.