bioformats icon indicating copy to clipboard operation
bioformats copied to clipboard

Micromanger: Add support for alternative metadata field names

Open dgault opened this issue 2 years ago • 1 comments

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

dgault avatar Oct 11 '23 15:10 dgault

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

imagesc-bot avatar Oct 11 '23 15:10 imagesc-bot