Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ROI widget to the Plugin menu #63

Open
psobolewskiPhD opened this issue Jan 6, 2025 · 0 comments
Open

Add ROI widget to the Plugin menu #63

psobolewskiPhD opened this issue Jan 6, 2025 · 0 comments
Labels
enhancement New feature or request high priority Something that is important!

Comments

@psobolewskiPhD
Copy link
Collaborator

psobolewskiPhD commented Jan 6, 2025

This package permits saving ROI back to OMERO, per:
https://github.com/tlambert03/napari-omero#as-an-omero-cli-plugin
This adds a widget:

def add_buttons(viewer, img):
"""Add custom buttons to the viewer UI."""
def handle_save_rois():
save_rois(viewer, img)
button = QPushButton("Save ROIs to OMERO")
button.clicked.connect(handle_save_rois)
viewer.window.add_dock_widget(button, name="Save OMERO", area="left")

However this widget is not available from the napari plugin itself.

This widget would permit ROI loading from//saving to OMERO for an Image opened from OMERO.
In that regard, this is similar to #21

This would be an alternative to a Writer contribution which would make Save work for OMERO servers, see (outdated, but the gist): #20

@psobolewskiPhD psobolewskiPhD added enhancement New feature or request high priority Something that is important! labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority Something that is important!
Projects
None yet
Development

No branches or pull requests

1 participant