diff --git a/clinicadl/caps_dataset/extraction/config.py b/clinicadl/caps_dataset/extraction/config.py index c9d32e135..f33b5b9fe 100644 --- a/clinicadl/caps_dataset/extraction/config.py +++ b/clinicadl/caps_dataset/extraction/config.py @@ -62,7 +62,7 @@ def check_slice_direction(cls, v: str): return SliceDirection(str(v)) @field_validator("discarded_slices", mode="before") - def compute_discarded_slice(cls, v: Union[int, tuple]) -> tuple[int, int]: + def compute_discarded_slice(cls, v: Union[int, tuple]) -> Tuple[int, int]: return compute_discarded_slices(v)