You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
I have occasionally wanted to update the mix/max/start/end values of the contrast limits, such that data will open up in napari looking nice without having to adjust the contrast slider every time. Minor annoyance for now.
I regularly use the shrimPy update-scale-metadata especially with Falcon datasets since we don't have a way to tell it that it's a 60x vs 20x objective when we swap them, so inherently the pixel sizes in XY are wrong.
Also, currently use it for virtual staining since the predictions default scale is (1,1,1,1,1).
This probably is better suited as an iohub CLI than shrimPy.
@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 callingPosition.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 usingPosition.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.@edyoshikun @talonchandler @JoOkuma
The text was updated successfully, but these errors were encountered: