From ba1cf461e286b47a4db4d083e014fb352511e333 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 09:38:42 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/spikeinterface/core/sortinganalyzer.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/spikeinterface/core/sortinganalyzer.py b/src/spikeinterface/core/sortinganalyzer.py index 0a3870c9aa..dff941eaef 100644 --- a/src/spikeinterface/core/sortinganalyzer.py +++ b/src/spikeinterface/core/sortinganalyzer.py @@ -377,7 +377,9 @@ def load_from_binary_folder(cls, folder, recording=None): assert folder.is_dir(), f"This folder does not exists {folder}" # load internal sorting copy in memory - sorting = NumpySorting.from_sorting(NumpyFolderSorting(folder / "sorting"), with_metadata=True, copy_spike_vector=True) + sorting = NumpySorting.from_sorting( + NumpyFolderSorting(folder / "sorting"), with_metadata=True, copy_spike_vector=True + ) # load recording if possible if recording is None: @@ -540,7 +542,9 @@ def load_from_zarr(cls, folder, recording=None): # load internal sorting in memory # TODO propagate storage_options - sorting = NumpySorting.from_sorting(ZarrSortingExtractor(folder, zarr_group="sorting"), with_metadata=True, copy_spike_vector=True) + sorting = NumpySorting.from_sorting( + ZarrSortingExtractor(folder, zarr_group="sorting"), with_metadata=True, copy_spike_vector=True + ) # load recording if possible if recording is None: