Skip to content

Commit

Permalink
fix: disable type hint because of circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Mar 11, 2024
1 parent 90dbb94 commit c2df4f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LoopStructural/api/_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
logger.warning("Using deprecated version of scikit-image")
from skimage.measure import marching_cubes_lewiner as marching_cubes

# from LoopStructural.interpolators import GeologicalInterpolator
# from LoopStructural.interpolators._geological_interpolator import GeologicalInterpolator
from LoopStructural.datatypes import Surface, BoundingBox

surface_list = dict[str, Surface]
Expand All @@ -22,7 +22,7 @@ class LoopIsosurfacer:
def __init__(
self,
bounding_box: BoundingBox,
interpolator: Optional['GeologicalInterpolator'] = None,
interpolator=None,
callable: Optional[Callable[[npt.ArrayLike], npt.ArrayLike]] = None,
):
"""Extract isosurfaces from a geological interpolator or a callable function.
Expand Down

0 comments on commit c2df4f4

Please sign in to comment.