Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yrkim98 committed Oct 1, 2024
1 parent 9756bd3 commit eac82b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/allencell_ml_segmenter/main/main_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def __init__(

# events for auto window switching
self._model.subscribe(
Event.PROCESS_TRAINING_COMPLETE, self, self._handle_existing_model
Event.PROCESS_TRAINING_COMPLETE, self, self._disable_non_prediction_tabs
)

def _handle_experiment_applied(self, _: Event) -> None:
Expand All @@ -174,7 +174,7 @@ def _handle_new_model(self, _: Event) -> None:
else self._prediction_view
)

def _handle_existing_model(self, _: Event) -> None:
def _disable_non_prediction_tabs(self, _: Event) -> None:
"""
Handle existing model selection (disable tabs).
Expand Down

0 comments on commit eac82b3

Please sign in to comment.