We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31064ec commit cc550b9Copy full SHA for cc550b9
src/spikeinterface/widgets/motion.py
@@ -189,7 +189,7 @@ def __init__(
189
if segment_index is None:
190
assert (
191
len(np.unique(peaks["segment_index"])) == 1
192
- ), "segment_index must be specified if there is only one segment in the peaks array"
+ ), "segment_index must be specified if there are multiple segments"
193
segment_index = 0
194
else:
195
peak_mask = peaks["segment_index"] == segment_index
0 commit comments