You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that mkngff expects to find a METADATA.xml with which to update the pixels table, but in the case of omero-cli-zarr-exported NGFF data, we don't have METADATA.xml, so the pixels table won't get updated, leading to the errors seen at IDR/idr-metadata#650 (comment).
We'll need to pick another file to update the pixels table with.
The text was updated successfully, but these errors were encountered:
@josh - I can have a go at fixing this, but given my lack of sql skills, I would move the logic for finding a path/name from the setup.sqlmkngff_fileset() function into the main def sql() function, to add an extra:
self.ctx.out(f"UPDATE pixels SET name = '{name}', path = '{path}' where image in (select id from Image where fileset ={args.fileset_id});
Logic would be: choose METADATA.ome.xml if it's found, otherwise use top-level .zattrs.
Let me know if you'd prefer to update mkngff_fileset() yourself and keep the logic there? - I can hold off on this (and run sql manually for now as at IDR/idr-metadata#650 (comment) for testing)?
I see from
omero-mkngff/src/omero_mkngff/__init__.py
Line 108 in 4c1e32b
We'll need to pick another file to update the pixels table with.
The text was updated successfully, but these errors were encountered: