-
Notifications
You must be signed in to change notification settings - Fork 12
Description
@ziw-liu and I discussed the need to update metadata of a zarr store after it has been created. In shrimPy we have an update_scale_metadata CLI call which we use frequently - it allows us to update the scale metadata by calling Position.set_transform on all positions in a zarr store. @ziw-liu also brought up the need to update the channel names in a zarr store, and I know that @Soorya19Pradeep has also had similar needs - this can be done using Position.rename_channel.
We are asking other users if they would prefer to have CLI calls in iohub to update these metadata or if the existing python API is sufficient to do that, say in a python script.
Separately, are there other metadata fields which you have had the need to update? Is there a need for more general methods to update the ome-zarr metadata (outside of channel names and data scale)? @ziw-liu brought up the point that the metadata tree is relatively deep and a general update-metadata method will be difficult to maintain.