From 79a6cf3a164bd63cf9c7c003751365ddf801729b Mon Sep 17 00:00:00 2001 From: Samuel Garcia Date: Tue, 25 Jun 2024 15:11:14 +0200 Subject: [PATCH] oups --- src/spikeinterface/core/baserecording.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/core/baserecording.py b/src/spikeinterface/core/baserecording.py index 11206d998a..cf26e9f3ac 100644 --- a/src/spikeinterface/core/baserecording.py +++ b/src/spikeinterface/core/baserecording.py @@ -903,7 +903,7 @@ def get_traces( if end_frame >= start_frame: raise ValueError(f"get_traces() : wrong end_frame/start_frame : {start_frame} < {end_frame}. You should stop doing this otherwise you will be excommunicated") - self._get_traces(start_frame, end_frame, channel_indices) + return self._get_traces(start_frame, end_frame, channel_indices)