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
add enumeration values for acquisition mode #4820
Conversation
Tested using the breaking trout server (which included both this PR and the corresponding Bio-Formats one). Tested with the following workflow:
Here the new enum is recognized by Bio-FOrmats (as shown using the command line tools) but the DB enum has not been updated in the DB as there is no DB patch script for now so the value is converted to
In summary, the logic works as expected when using a |
To test the ABI compatibility issue raised by @rleigh-codelibre:
|
With this DB:
|
Testing
Looks to be the same as updated DB above. |
As discussed with @mtbc, merging. |
add enumeration values for acquisition mode
What this PR does
To the OMERO model object mapping adds acquisition modes,
Testing this PR
The BIOFORMATS-DEV-merge-full-repository job's logs record various "Unknown AcquisitionMode value" warnings. Pick one of the corresponding images and import it into OMERO. Without these changes (including the entailed Bio-Formats changes) the Blitz log will warn that the enumeration does not exist and will set the image's acquisition mode to "Other". With this PR, having run the
enums_update.sql
script or used a build with #4837 included, the correct acquisition mode should be noted among the image's metadata for subsequent imports. (With these changes in OMERO but without running that database script import is as if OMERO hadn't been changed at all.)Related reading
ome/bioformats#2553
https://trello.com/c/0zNp8HvU/167-enumerations-addition