Conversation
|
Updated to this branch on idr0125-pilot... as root... |
|
What are the differences in semantics between render_images and get_images? |
|
The method just gets images, so I found it confusing being called |
|
I couldn't see a performance increase (tested on smaller plates like idr0139), but I think the PR would be good to merge, definitely makes the code easier to understand. Any objections? (/cc @jburel ) |
|
I think we should deprecate |
Co-authored-by: jean-marie burel <j.burel@dundee.ac.uk>
Add deprecated render_images method again
src/omero_cli_render.py
Outdated
| self._update_channel_names(self.gateway, iids, namedict) | ||
|
|
||
| def set_image_settings(self, img, data, cindices, rangelist, | ||
| colourlist, greyscale, minmaxlist, args): |
There was a problem hiding this comment.
to match the parameter name it is preferable to use "colorlist"
i.e. colors=colourlist
There was a problem hiding this comment.
That variable is created outside this PR. It feels like we are never going to get this merged!
There was a problem hiding this comment.
That spelling occurs 7 times in the file. Do I rename them all? Will it need retesting after that?
There was a problem hiding this comment.
you introduce a new function. This is not a global variable.
Trying to fix issues with
omero render copy Image:ID Plate:IDfor idr0125 data (see IDR/idr0125-way-cellpainting#4 (comment)).The main change here is to use the OMERO API
self.gateway.applySettingsToSet(image_id, "plate", [plate_id])for that command, instead of making a long list of Image IDs and applying it to those images.This should improve performance, particularly for larger plates.