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.
Fixes #7.
NB: this branch is on top of #6.
As discussed on that issue, we need to always update the
pixels
table withpath/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 inwalk
) but if we find aMETADATA.ome.xml
then that is chosen in preference. This logic is now in the maindef sql()
and outputs an extraupdate
to the generated sql instead of being part of themkngff_fileset()
function insetup.sql
.