Skip to content

Commit c2df4f4

Browse files
committed
fix: disable type hint because of circular import
1 parent 90dbb94 commit c2df4f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LoopStructural/api/_surface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
logger.warning("Using deprecated version of scikit-image")
1313
from skimage.measure import marching_cubes_lewiner as marching_cubes
1414

15-
# from LoopStructural.interpolators import GeologicalInterpolator
15+
# from LoopStructural.interpolators._geological_interpolator import GeologicalInterpolator
1616
from LoopStructural.datatypes import Surface, BoundingBox
1717

1818
surface_list = dict[str, Surface]
@@ -22,7 +22,7 @@ class LoopIsosurfacer:
2222
def __init__(
2323
self,
2424
bounding_box: BoundingBox,
25-
interpolator: Optional['GeologicalInterpolator'] = None,
25+
interpolator=None,
2626
callable: Optional[Callable[[npt.ArrayLike], npt.ArrayLike]] = None,
2727
):
2828
"""Extract isosurfaces from a geological interpolator or a callable function.

0 commit comments

Comments
 (0)