Skip to content

Rename ome zarr images#67

Draft
will-moore wants to merge 2 commits intoIDR:masterfrom
will-moore:rename_ome_zarr_images
Draft

Rename ome zarr images#67
will-moore wants to merge 2 commits intoIDR:masterfrom
will-moore:rename_ome_zarr_images

Conversation

@will-moore
Copy link
Member

OME-Zarr images often have empty names after import (or named METADATA.ome.xml).

This script aims to give them better names.

  • Looked at loading the METADATA.ome.xml file from the Fileset, but getFileInChunks() gives a SecurityViolation (can't download from IDR) and anyway the Images in that file don't have useful names (empty)
  • Alternative is to use the path/to/image_name.zarr/OME/METADATA.ome.xml to get image_name then rename E.g. METADATA.ome.xml [0/0] to image_name [0/0] for each image in the series.

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.

1 participant