IDR / omero-mkngff

Plugin to swap OMERO filesets with NGFF
GNU General Public License v2.0
0 stars 2 forks source link

Always update pixels #8

Closed will-moore closed 10 months ago

will-moore commented 11 months ago

Fixes #7.

NB: this branch is on top of #6.

As discussed on that issue, we need to always update the pixels table with path/name to a file in the new Fileset. It doesn't seem to matter too much which file is picked. We pick the first .zattrs file we find (most top-level in walk) but if we find a METADATA.ome.xml then that is chosen in preference. This logic is now in the main def sql() and outputs an extra update to the generated sql instead of being part of the mkngff_fileset() function in setup.sql.

will-moore commented 11 months ago

Tested at https://github.com/IDR/idr-metadata/issues/650#issuecomment-1701208525