From 9f7156248a2a3518f8de0d410240b1397ce4ce22 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 22 May 2024 19:50:12 +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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/spikeinterface/core/sortinganalyzer.py b/src/spikeinterface/core/sortinganalyzer.py index 5d1e586dea..d9fcf44442 100644 --- a/src/spikeinterface/core/sortinganalyzer.py +++ b/src/spikeinterface/core/sortinganalyzer.py @@ -586,7 +586,9 @@ def load_from_zarr(cls, folder, recording=None): # sparsity if "sparsity_mask" in zarr_root: - sparsity = ChannelSparsity(np.array(zarr_root["sparsity_mask"]), sorting.unit_ids, rec_attributes["channel_ids"]) + sparsity = ChannelSparsity( + np.array(zarr_root["sparsity_mask"]), sorting.unit_ids, rec_attributes["channel_ids"] + ) else: sparsity = None