Skip to content

Commit

Permalink
one more has_scaled->has_scaleable_traces
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed May 29, 2024
1 parent 8c4957b commit 5690ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/preprocessing/detect_bad_channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def detect_bad_channels(

elif method == "coherence+psd":
# some checks
assert recording.has_scaled(), (
assert recording.has_scaleable_traces(), (
"The 'coherence+psd' method uses thresholds assuming the traces are in uV, "
"but the recording does not have scaled traces. If the recording is already scaled, "
"you need to set gains and offsets: "
Expand Down

0 comments on commit 5690ae5

Please sign in to comment.