Closed edyoshikun closed 1 year ago
@ziw-liu I was a bit confused about which metadata I should write so I used both to match what's currently in the zarr store. Lmk if I should change this.
input_dataset.set_transform("0", transform=transform)
input_dataset.set_transform("*", transform=transform)
Fixes #85.
TC edit: I've finished a working prototype on this branch.
Example usage:
The old scale gets written to .zattrs['old_scale'] in case you make a mistake.
I've tested that the rescaled result appears correctly in napari.