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 5480572 commit d98f346
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions clinicadl/caps_dataset/extraction/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +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[NonNegativeInt, NonNegativeInt]:
def compute_discarded_slice(cls, v: Union[int, tuple]) -> tuple[int, int]:
return compute_discarded_slices(v)


Expand Down

0 comments on commit d98f346

Please sign in to comment.