Skip to content

Commit 7b8d0a2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 035d61c commit 7b8d0a2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/spikeinterface/preprocessing/whiten.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def __init__(
7676
dtype_ = fix_dtype(recording, dtype)
7777

7878
if dtype_.kind == "i":
79-
assert int_scale is not None, (
80-
"For recording with dtype=int you must set the output dtype to float OR set a int_scale"
81-
)
79+
assert (
80+
int_scale is not None
81+
), "For recording with dtype=int you must set the output dtype to float OR set a int_scale"
8282

8383
if W is not None:
8484
W = np.asarray(W)

0 commit comments

Comments
 (0)