Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes bug in SortingAnalyzer #2545

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/spikeinterface/core/sortinganalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ def create(
elif format == "binary_folder":
cls.create_binary_folder(folder, sorting, recording, sparsity, rec_attributes=None)
sorting_analyzer = cls.load_from_binary_folder(folder, recording=recording)
sorting_analyzer.folder = folder
sorting_analyzer.folder = Path(folder)
elif format == "zarr":
cls.create_zarr(folder, sorting, recording, sparsity, rec_attributes=None)
sorting_analyzer = cls.load_from_zarr(folder, recording=recording)
sorting_analyzer.folder = folder
sorting_analyzer.folder = Path(folder)
else:
raise ValueError("SortingAnalyzer.create: wrong format")

Expand Down Expand Up @@ -752,7 +752,7 @@ def compute(self, input, save=True, **kwargs):

Parameters
----------
input: str or dict
input: str or dict or list
If the input is a string then computes one extension with compute_one_extension(extension_name=input, ...)
If the input is a dict then compute several extensions with compute_several_extensions(extensions=input)
"""
Expand Down
Loading