This project demonstrates OMERO's ability to include an external application. It uses the open with method, of linking an external application, and gives the user the ability to login to a separate OMERO server for the purpose of exporting from OMERO server to another.
- The following terminal commands assume you have OMERO.server on your environment PATH
The documentation for adding an application to OMERO can be found here: https://docs.openmicroscopy.org/omero/5.4.0/developers/Web/CreateApp.html#add-your-app-to-your-pythonpath
The documentation for accessing the application via the open with context menu option on the left hand project tree in OMERO.web can be found here:
This is just a shortened version
- Checkout this git repo
- Add the directory containing this repo to your PYTHONPATH environment variable
- Add script from this repo to your OMERO.server scripts
omero script upload omero/my_scripts/export_to_other_omero.py
- Add the application to OMERO.server configuration
omero config append omero.web.apps '"omero_export"'
- Add tne application to open with context menu
omero config append omero.web.open_with '["omero_export", "export_tool", {"supported_objects": ["images"], "label": "Export to other OMERO"}]'
To use the omero_export tool, select one or more images from the project tree on the left panel of OMERO.web, and right click to reveal the context menu shown in the image below. You will be able to see the application you have added via the Open With option.