Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Dec 9, 2024
1 parent ef3e22b commit 442fbfb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/nemos/basis/_basis_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _compute_features(self, *xi: ArrayLike | Tsd | TsdFrame | TsdTensor):
Returns
-------
:
A matrix with the transformed features.
A matrix with the transformed features.
"""
return self._evaluate(*xi)
Expand Down Expand Up @@ -149,17 +149,14 @@ def _set_kernel(self) -> "ConvBasisMixin":

@property
def window_size(self):
"""Duration of the convolutional kernel in number of samples.
"""
"""Duration of the convolutional kernel in number of samples."""
return self._window_size

@window_size.setter
def window_size(self, window_size):
"""Setter for the window size parameter."""
if window_size is None:
raise ValueError(
"You must provide a window_size!"
)
raise ValueError("You must provide a window_size!")

elif not (isinstance(window_size, int) and window_size > 0):
raise ValueError(
Expand Down

0 comments on commit 442fbfb

Please sign in to comment.