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 @@ -363,8 +363,8 @@ class RasterWidget(BaseRasterWidget):
363363 A sorting object. Deprecated.
364364 sorting_analyzer : SortingAnalyzer | None, default: None
365365 A sorting analyzer object. Deprecated.
366- sort_by_depth: bool = False
367- Wether or not to sort units by depth, default: False
366+ sort_by_depth : bool, default: False
367+ Whether or not to sort units by depth, default: False
368368 """
369369
370370 def __init__ (
@@ -398,7 +398,6 @@ def __init__(
398398 unit_ids = sorting .unit_ids
399399
400400 if sort_by_depth :
401- # print("hey")
402401 if not sorting_analyzer_or_sorting .has_extension ("unit_locations" ):
403402 raise AttributeError (f"'unit_locations' necessary for sort_by_depth is True" )
404403 depths = sorting_analyzer_or_sorting .get_extension ("unit_locations" ).get_data (outputs = "numpy" )
You can’t perform that action at this time.
0 commit comments