Skip to content

Commit

Permalink
Remove typing hint
Browse files Browse the repository at this point in the history
  • Loading branch information
fepegar committed Oct 15, 2020
1 parent 2ee8ad4 commit 1f3d72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchio/data/sampler/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import numpy as np

from ... import TypePatchSize, TypeTripletInt, TypeSixBounds
from ... import TypePatchSize, TypeTripletInt
from ...data.subject import Subject
from ...utils import to_tuple

Expand Down Expand Up @@ -59,7 +59,7 @@ def get_crop_transform(
crop_ini = index_ini.tolist()
crop_fin = (shape - index_fin).tolist()
start = ()
cropping: TypeSixBounds = sum(zip(crop_ini, crop_fin), start)
cropping = sum(zip(crop_ini, crop_fin), start)
return Crop(cropping)


Expand Down

0 comments on commit 1f3d72b

Please sign in to comment.