bioformats
bioformats copied to clipboard
Micromanger: Add support for alternative metadata field names
Issue was raised on forum thread https://forum.image.sc/t/omero-import-metadata-issue-from-micromanager-images/87205
The initial report from the user indicated that some metadata values such as pixel sizes were not being correctly parsed from the metadata.txt file. This looks like it was due to different naming for some of the metadata fields compared to that expected by the Bio-Formats reader.
From forum post https://forum.image.sc/t/omero-import-metadata-issue-from-micromanager-images/87205/4
Regretfully, over time, various Micro-Manager contributors have used slightly different field names. The current MM code “normalizes” these with code in the file: https://github.com/micro-manager/micro-manager/blob/f89dd57e4020ae47d91ad4eca07358b365031308/mmstudio/src/main/java/org/micromanager/data/internal/PropertyKey.java 2. This file shows that there are two keywords known for PIXEL_SIZE_UM: "PixelSizeUm" and "PixelSize_um", with the first one to be used in current code. The same files will show variations in other keywords that we are aware off.
The Bio-Formats reader should likewise try to handle the multiple field names as in the above micromanager code
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/omero-import-metadata-issue-from-micromanager-images/87205/7