Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always update pixels #8

Merged
merged 5 commits into from
Sep 25, 2023
Merged

Conversation

will-moore
Copy link
Member

@will-moore will-moore commented Aug 31, 2023

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
Copy link
Member Author

Tested at IDR/idr-metadata#650 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle NGFF without OME/METADATA.ome.xml
2 participants