diff --git a/clinicadl/splitter/config.py b/clinicadl/splitter/config.py index 8bf639f09..a004dd510 100644 --- a/clinicadl/splitter/config.py +++ b/clinicadl/splitter/config.py @@ -23,7 +23,7 @@ class SplitConfig(BaseModel): n_splits: NonNegativeInt = 0 split: Optional[Tuple[NonNegativeInt, ...]] = None - tsv_path: Optional[Path] = None # not needed in predict ? + tsv_path: Path # not needed in predict ? # pydantic config model_config = ConfigDict(validate_assignment=True)