Skip to content

Commit 3d0a98b

Browse files
committed
improve ValueError message
1 parent 67633a5 commit 3d0a98b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/spikeinterface/preprocessing/filter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ def fix_dtype(recording, dtype):
423423
# if uint --> force int
424424
if dtype.kind == "u":
425425
raise ValueError(
426-
"Unsigned types are not supported. You can use "
426+
"Unsigned types are not supported, since they don't ineract well with "
427+
"various preprocessing steps. You can use "
427428
"`spikeinterface.preprocessing.unsigned_to_signed` to convert the recording to a signed type."
428429
)
429430

0 commit comments

Comments
 (0)