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 May 22, 2024
1 parent 7b48523 commit 9f71562
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spikeinterface/core/sortinganalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9f71562

Please sign in to comment.