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

Search for wells #5055

Merged
merged 4 commits into from
Mar 2, 2017
Merged

Search for wells #5055

merged 4 commits into from
Mar 2, 2017

Conversation

dominikl
Copy link
Member

@dominikl dominikl commented Jan 23, 2017

What this PR does

Enables the search for wells.

ToDo:

  • Add/Adjust integration (or robot?) test

Testing this PR

  • Enable the indexing of wells: ./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". Not necessary, with 6d56fdf that's the default now anyway.
  • Tag a Well.
  • Search for the Tag and check that the well shows up in the search results.

Related reading

Trello - Critical: search on wells

/cc @will-moore

@jburel jburel added the develop label Jan 23, 2017
@dominikl dominikl force-pushed the search_include_wells branch from eaff4fa to 6d56fdf Compare January 24, 2017 16:06
@mtbc
Copy link
Member

mtbc commented Jan 25, 2017

The code diff looks good.

@dominikl
Copy link
Member Author

Might be worth testing with some other annotations, too, e.g. comments.

@mtbc
Copy link
Member

mtbc commented Jan 25, 2017

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?

@mtbc
Copy link
Member

mtbc commented Jan 25, 2017

Yes, it works fine with comments too.

@will-moore
Copy link
Member

@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.

@dominikl
Copy link
Member Author

Thanks @mtbc . I just still need to add a robot test, one more commit to come.

@dominikl
Copy link
Member Author

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 ?

@joshmoore
Copy link
Member

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.

@will-moore
Copy link
Member

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.

@mtbc
Copy link
Member

mtbc commented Jan 31, 2017

The upgrade script could create reindex DB entries for existing wells.

@dominikl
Copy link
Member Author

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.

@will-moore
Copy link
Member

I think this is Good to Merge.

@joshmoore
Copy link
Member

#5055 (comment) or another proposal should be included somewhere in 5.3.0.

@jburel
Copy link
Member

jburel commented Mar 2, 2017

@jburel jburel merged commit 60063d9 into ome:develop Mar 2, 2017
mtbc added a commit to mtbc/openmicroscopy that referenced this pull request Mar 10, 2017
@jburel jburel added this to the 5.3.0 milestone Mar 29, 2017
@dominikl dominikl deleted the search_include_wells branch May 3, 2017 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants