From 1067fbe09a7bfff49791dc0e5486f6c507c8c110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20WYNGAARD?= Date: Wed, 5 Jun 2024 16:32:26 +0200 Subject: [PATCH] Missed `has_scaled` --- 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 939caa360e..6920061366 100644 --- a/src/spikeinterface/core/baserecording.py +++ b/src/spikeinterface/core/baserecording.py @@ -355,7 +355,7 @@ def get_traces( ) warnings.warn(message) - if not self.has_scaled(): + if not self.has_scaleable_traces(): if self._dtype.kind == "f": # here we do not truely have scale but we assume this is scaled # this helps a lot for simulated data