Skip to content

Commit

Permalink
fix: circular import with InterpolationMode
Browse files Browse the repository at this point in the history
  • Loading branch information
nkemnitz committed Dec 23, 2024
1 parent 5a1031e commit 78447e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions zetta_utils/tensor_ops/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from . import generators, traceback_supress

from . import common, convert, label, mask, multitensor, normalization
from .common import (
InterpolationMode,
compare,
Expand All @@ -15,3 +12,8 @@
from .convert import astype, to_np, to_torch
from .label import get_disp_pair, seg_to_aff, seg_to_rgb
from .mask import filter_cc # , coarsen

# Circular import otherwise
from . import generators, traceback_supress

from . import common, convert, label, mask, multitensor, normalization

0 comments on commit 78447e1

Please sign in to comment.