Skip to content

Commit

Permalink
adapt slice and preprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
camillebrianceau committed Oct 24, 2024
1 parent d98f346 commit cd3a4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clinicadl/caps_dataset/extraction/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit cd3a4e7

Please sign in to comment.