Skip to content

#185 #189 Revise image fetching from OMERO and local dialogs

Marko Vendelin requested to merge feature/185-fetch-from-omero-using-thread into main

While originally MR was to handle async loading of OMERO images while adding them from dialog box, this MR expanded significantly to improve overall image handling. Changes are mainly focused on OMERO, but some where done in local image dialog. In addition, as my threshold for loosing tracebacks was reached, small fix for it is included as well.

In terms of OMERO changes:

  • job has now only omero_id as a parameter. As we can have many images with the same omero image backing them (it could make sense in some cases in practice), events on receiving OMERO images are pushed into event_registry
  • image repository now has to go through all images with such omero_id to make sure they are all updated. Corresponding database fetch has been added to support it

Local images are now supporting subfolders in local image dir. So far, they were all assuming flat image directory with all files in a same directory.

Application doesn't crash anymore if the images are moved in local directory. Just a missed image sign is shown and the user can select a new location.

Finally, local and OMERO image selectors are prefilled with the previous values (either corresponding file is selected or OMERO id is set) if the user wants to edit it.

Fixes: #185 (closed) #189 (closed)

Ready for review.

Edited by Marko Vendelin

Merge request reports