Fileglancer backend#6
Draft
will-moore wants to merge 86 commits into
Draft
Conversation
…l contains plate, well, or wellsample (per review by @Tom-TBT)
…Error at /figure/parents/
… for Well and Field
…creen label when creating figure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When using the standalone figure app with local OME-Zarr files, users will need to serve those files somehow.
One option is to use
ome_zarr view my_image.zarrbut the generatedURL/to/my_image.zarrwill depend where you ran ome_zarr and the path provided, so this URL is a bit temporary.A nicer option is to use https://github.com/JaneliaSciComp/fileglancer, a locally-run FastAPI application that allows you to browse your local filesystem and view OME-Zarr images in the browser.
We can use Fileglancer-served OME-Zarrs in the standalone figure app (hosted on github), then download the figure.json files and run
Figure_To_Pdf.pyscript locally.However, for the best user experience, we can try to use Fileglancer server as the backend to replace omero-web and OMERO.server for exporting figures to PDF/TIFF, and eventually for all the backend functionality:
To test (very much work in progress)! - see https://github.com/will-moore/fileglancer/blob/main/docs/Development.md
install steps
Run with
Open Fileglancer at http://127.0.0.1:7878/ and login (pick any username).
Browse to find a local OME.zarr image and "copy URL" button.
Go to http://127.0.0.1:7878/omero-figure/ which should load the static figure app.
With a new figure,
Add Imageand paste in the zarr URL.Export to PDF -> choose local directory to store the figure -> OK.