Skip to content

Commit

Permalink
allow for basesorting
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed May 1, 2024
1 parent 884be4f commit 0c96661
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spikeinterface/widgets/crosscorrelograms.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def __init__(
backend=None,
**backend_kwargs,
):
sorting_analyzer_or_sorting = self.ensure_sorting_analyzer(sorting_analyzer_or_sorting)

if not isinstance(sorting_analyzer_or_sorting, BaseSorting):
sorting_analyzer_or_sorting = self.ensure_sorting_analyzer(sorting_analyzer_or_sorting)

if min_similarity_for_correlograms is None:
min_similarity_for_correlograms = 0
Expand Down

0 comments on commit 0c96661

Please sign in to comment.