Skip to content

Importing ome metadata to omero server fails with ".zarr.ome.xml" files #6449

@antho214

Description

@antho214

I am currently experiencing an issue when attempting to import the ome xml metadata associated with a zarr file. I do not want to import the images only the metadata that is stored within the ome.xml file.

Reproduce

I am using the omero import command to upload the ome.xml files to my omero server. The first file dummy.zarr.ome.xml fails to be uploaded, but the second file does not fail and is update as expected to the server. Note that the only difference between the files is the name of the file, one ending with .zarr.ome.xml and the other .ome.xml. Both files can be downloaded from here:

dummy.zarr.ome.xml
dummy_v2-zarr.ome.xml

To reproduce the error, I am using the following commands.

FILE="./dummy.zarr.ome.xml"
omero import -d $DATASET_ID -k $SESSION -s $OMEROSERVER $FILE --debug DEBUG

FILE="./dummy_v2-zarr.ome.xml"
omero import -d $DATASET_ID -k $SESSION -s $OMEROSERVER $FILE --debug DEBUG

I have also attached the complete output that I get in the terminal in this output.txt file.

Notes

It does not seem to be only related to the name of the file. I can upload ome xml files that end with .obf.ome.xml, .msr.ome.xml, .tif.ome.xml, etc. without any issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions