We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc1b6b5 commit 63825bcCopy full SHA for 63825bc
1 file changed
src/spikeinterface/widgets/rasters.py
@@ -446,6 +446,8 @@ def __init__(
446
depth_dict = {b: i for i, b in enumerate(unit_ids[s_args_depths].tolist())}
447
elif sort_by_depth:
448
raise AttributeError("`sort_by_depth=True` requires a SortingAnalyzer")
449
+ else:
450
+ depth_dict = None
451
452
# Create dict of dicts structure
453
spike_train_data = {}
0 commit comments