-
Notifications
You must be signed in to change notification settings - Fork 102
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
Search for wells #5055
Search for wells #5055
Conversation
eaff4fa
to
6d56fdf
Compare
The code diff looks good. |
Might be worth testing with some other annotations, too, e.g. comments. |
This seems to be working pretty well so far. If I look on the tags view for the wells of that tag then I don't see anything for those wells in its central pane but I'm guessing that's outwith this PR? |
Yes, it works fine with comments too. |
@mtbc The only tagged objects we show in the centre panel are image thumbnails. E.g. don't show P/D/ S/P etc. so we wouldn't expect Wells to show up here currently. |
Thanks @mtbc . I just still need to add a robot test, one more commit to come. |
Added 'wells' to the robot test, but not sure if that is sufficient to test that the search for wells really works, is it @will-moore ? |
NB: for Well search to be usable on existing data, the upgrade guide, we'll have to suggest re-indexing. If that's the case, it might be worth considering if there's anything else to re-index for 5.3. |
There's also the question of whether to provide scripts for moving Image annotations to their parent Wells? The IDR workflow of searching for an Image and seeing the Well Table data in the right panel of search results (along-side the Image) is broken in 5.3. Need to discuss if/how to "fix" this. |
The upgrade script could create reindex DB entries for existing wells. |
In terms of this PR, is it now good to merge, or still something missing? Upgrade scripts, etc. won't be part of this PR, I guess. |
I think this is Good to Merge. |
#5055 (comment) or another proposal should be included somewhere in 5.3.0. |
@will-moore will look at a script see https://trello.com/c/gasafKWk/291-update-script-wellsample-well-annotation-migration |
see PR ome#5055 for background
What this PR does
Enables the search for wells.
ToDo:
Testing this PR
Enable the indexing of wells:Not necessary, with 6d56fdf that's the default now anyway../omero config set omero.search.include_types "ome.model.core.Image,ome.model.containers.Project,ome.model.containers.Dataset,ome.model.screen.Plate,ome.model.screen.Screen,ome.model.screen.PlateAcquisition,ome.model.screen.Well"
.Related reading
Trello - Critical: search on wells
/cc @will-moore