Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yrkim98 committed Feb 17, 2025
1 parent ae1d08d commit c2b14bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(
self._thresholding_model.subscribe(
Event.ACTION_THRESHOLDING_DISABLED,
self,
self._remove_all_prob_maps,
self._remove_all_binary_maps,
)

def _handle_thresholding_error(self, error: Exception) -> None:
Expand Down Expand Up @@ -167,6 +167,6 @@ def _threshold_image(self, image: np.ndarray) -> np.ndarray:
)
return (image > threshold_value).astype(int)

def _remove_all_prob_maps(self, _: Event) -> None:
def _remove_all_binary_maps(self, _: Event) -> None:
for layer in self._thresholding_model.get_thresholding_layers():
self._viewer.clear_binary_map_from_layer(layer)

0 comments on commit c2b14bd

Please sign in to comment.