Skip to content

Commit 8f60db3

Browse files
committed
STY: Disallow None for mandatory PET model parameters
Disallow `None` for mandatory PET model `timepoints` and `xlim` parameters.
1 parent 09df9e8 commit 8f60db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nifreeze/model/pet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ class PETModel(BaseModel):
5757
def __init__(
5858
self,
5959
dataset: PET,
60-
timepoints: list | np.ndarray | None = None,
61-
xlim: float | None = None,
60+
timepoints: list | np.ndarray,
61+
xlim: float,
6262
n_ctrl: int | None = None,
6363
order: int = 3,
6464
smooth_fwhm: float = 10.0,

0 commit comments

Comments
 (0)