Skip to content

Commit

Permalink
Merge pull request #2979 from DradeAW/patch-3
Browse files Browse the repository at this point in the history
Missed `has_scaled`
  • Loading branch information
alejoe91 authored Jun 6, 2024
2 parents 9152803 + 1067fbe commit 1711188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/baserecording.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1711188

Please sign in to comment.