Skip to content

Commit 1711188

Browse files
authored
Merge pull request #2979 from DradeAW/patch-3
Missed `has_scaled`
2 parents 9152803 + 1067fbe commit 1711188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spikeinterface/core/baserecording.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def get_traces(
355355
)
356356
warnings.warn(message)
357357

358-
if not self.has_scaled():
358+
if not self.has_scaleable_traces():
359359
if self._dtype.kind == "f":
360360
# here we do not truely have scale but we assume this is scaled
361361
# this helps a lot for simulated data

0 commit comments

Comments
 (0)