Skip to content

Commit

Permalink
Be less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
m-albert committed Nov 12, 2024
1 parent 7114280 commit 6f25850
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/napari_stitcher/_stitcher_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,16 +526,16 @@ def watch_layer_changes(self, event):
viewer_utils.image_layer_to_msim(l, self.viewer),
't',
)
else:
# inform user about the consequences of modifying transforms
if self.visualization_type_rbuttons.value == CHOICE_METADATA:
notifications.notification_manager.receive_info(
'Please reload the layers for a new registration.'
)
elif self.visualization_type_rbuttons.value == CHOICE_REGISTERED:
notifications.notification_manager.receive_info(
'Manual corrections of transforms will be supported soon!'
)
# else:
# # inform user about the consequences of modifying transforms
# if self.visualization_type_rbuttons.value == CHOICE_METADATA:
# notifications.notification_manager.receive_info(
# 'Please reload the layers for a new registration.'
# )
# elif self.visualization_type_rbuttons.value == CHOICE_REGISTERED:
# notifications.notification_manager.receive_info(
# 'Manual corrections of transforms will be supported soon!'
# )


def link_channel_layers(self, layers, attributes=('contrast_limits', 'visible')):
Expand Down

0 comments on commit 6f25850

Please sign in to comment.