Skip to content

Commit

Permalink
simpify
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Jul 9, 2024
1 parent 453433e commit 79fd10b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions package/PartSegImage/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,6 @@ def __init__(
self.ranges = self._adjust_ranges(ranges, self._channel_arrays)
self._mask_array = self._fit_mask(mask, data, axes_order)

self._mask_array = self._prepare_mask(mask, data, axes_order)
if self._mask_array is not None:
self._mask_array = self.fit_mask_to_image(self._mask_array)

@staticmethod
def _adjust_ranges(
ranges: list[tuple[float, float]] | None, channel_arrays: list[np.ndarray]
Expand Down

0 comments on commit 79fd10b

Please sign in to comment.