Skip to content

Commit

Permalink
refactor(eyevolume.py): changes skimage import of GeometricTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
Oli4 committed Nov 15, 2023
1 parent 23fec54 commit 31ce767
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/eyepy/core/eyevolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from numpy import typing as npt
import numpy as np
from skimage import transform
from skimage.transform._geometric import GeometricTransform
from skimage.transform._geometric import _GeometricTransform

from eyepy import config
from eyepy.core.annotations import EyeVolumeLayerAnnotation
Expand All @@ -39,7 +39,7 @@ def __init__(
data: npt.NDArray[np.float32],
meta: Optional[EyeVolumeMeta] = None,
localizer: Optional[EyeEnface] = None,
transformation: Optional[GeometricTransform] = None,
transformation: Optional[_GeometricTransform] = None,
) -> None:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/eyepy/io/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import construct as cs
import numpy as np
from skimage import transform
from skimage.transform._geometric import GeometricTransform
from skimage.transform._geometric import _GeometricTransform

from eyepy.core.eyemeta import EyeBscanMeta

Expand Down

0 comments on commit 31ce767

Please sign in to comment.