Skip to content

Commit

Permalink
STY
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Sep 17, 2021
1 parent 370c561 commit a53c1ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eelbrain/_trf/_boosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,13 +947,13 @@ def boosting(
if scale_data == 'inplace':
scale_in_place = True
else:
raise ValueError(f"scale_data={scale_data!r}")
raise ValueError(f"{scale_data=}")
else:
raise TypeError(f"scale_data={scale_data!r}, need bool or str")
raise TypeError(f"{scale_data=}, need bool or str")
# selective_stopping
selective_stopping = int(selective_stopping)
if selective_stopping < 0:
raise ValueError(f"selective_stopping={selective_stopping}")
raise ValueError(f"{selective_stopping=}")

data = DeconvolutionData(y, x, ds, scale_in_place)
data.apply_basis(basis, basis_window)
Expand Down

0 comments on commit a53c1ad

Please sign in to comment.