File tree Expand file tree Collapse file tree
src/spikeinterface/widgets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ def __init__(
377377 backend : str | None = None ,
378378 sorting : BaseSorting | None = None ,
379379 sorting_analyzer : SortingAnalyzer | None = None ,
380- sort_by_depth : bool = False ,
380+ sort_by_depth : bool = False ,
381381 ** backend_kwargs ,
382382 ):
383383 if sorting is not None :
@@ -390,16 +390,14 @@ def __init__(
390390 warn (deprecation_msg , category = DeprecationWarning , stacklevel = 2 )
391391 sorting_analyzer_or_sorting = sorting_analyzer
392392
393-
394-
395393 sorting = self .ensure_sorting (sorting_analyzer_or_sorting )
396394
397395 segment_indices = validate_segment_indices (segment_indices , sorting )
398396
399397 if unit_ids is None :
400398 unit_ids = sorting .unit_ids
401399
402- if sort_by_depth :
400+ if sort_by_depth :
403401 # print("hey")
404402 if not sorting_analyzer_or_sorting .has_extension ("unit_locations" ):
405403 raise AttributeError (f"'unit_locations' necessary for sort_by_depth is True" )
You can’t perform that action at this time.
0 commit comments