-
Notifications
You must be signed in to change notification settings - Fork 15
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
ROI CLI plugin proposal #80
base: master
Are you sure you want to change the base?
Conversation
As @mtbc just mentioned that on the call: ROIs could be attached to multiple images and part of multiple folders. So |
Glencoe may have some thoughts here. At present the OMERO model is such that if you import OME-XML with a ROI on two images then (if I recall correctly) it ends up being on just one of them. I don't know how we plan to align the two models. (Folders should indeed work fine though.) |
Is there any existing work on serialising ROIs/Shapes as json that you could use instead of defining a new format? |
If there is a short/nice json definition for a shape, happy to use that. Otherwise typing in a huge, complicated json string on the command line would be quite painful. |
There have already been two formats in the past for defining points: https://trello.com/c/hJLlf1Xr/47-error-on-preview-rois can we at least make this new format something that's standard across most apps? |
A couple more thoughts about defining points in the form
|
Shall we just forget about the manual entry and only have the import from a batch file option, which then can contain json or whatever existing ROI format we have? |
There's also this format -- https://github.com/CellMigStandOrg/biotracks -- which is basically "read from a CSV" which may be appropriate here. |
So the current idea is, that the ROI plugin should extract the ROIs from the HDF file, which Roger's IDR tool will generate. Right? That means plugin will be very specific to the IDR case, nobody else would really be able to use it in a different scenario. |
For the HDF I was going to create, I didn't envision this being anything but a one-off screen-specific file for processing with one-off scripts for creating it and then feeding the data into OMERO. While it's possible it might have parts we could reuse for other data import tasks, I don't think it will be all reusable. |
Probably best to get the first example in place and we'll iterate from there. @rleigh-codelibre : if you don't have the code anywhere else, https://github.com/IDR/idr-metadata/tree/master/features might be a good starting point. |
I guess with IDR/idr-metadata#292 this design PR can be closed now. Right? |
Let's discuss. Some decisions to make on how this repo is used. |
see #83 (comment) which could imply this is 006 :) |
See #84 for the suggested numbering and naming conventions. |
As per #85, feel free to rename this as |
a4624ce
to
aa8cb47
Compare
Still, I think it can actually be closed. The hdf files are so project specific, don't know how there could be a generic roi plugin. |
Did this change to a ROIReader proposal? 😄 |
Proposal for a 'roi' CLI plugin, open for discussion.