We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e84e1c2 + d2f1b67 commit 985dc70Copy full SHA for 985dc70
src/zarrify/formats/tiff_stack.py
@@ -38,13 +38,6 @@ def __init__(
38
39
self.dtype = probe_image_arr.dtype
40
self.shape = np.squeeze([len(self.stack_list)] + list(probe_image_arr.shape))
41
- self.ndim = len(self.shape)
42
-
43
- # Scale metadata parameters to match data dimensionality
44
- self.metadata["axes"] = self.metadata["axes"][-self.ndim:]
45
- self.metadata["scale"] = self.metadata["scale"][-self.ndim:]
46
- self.metadata["translation"] = self.metadata["translation"][-self.ndim:]
47
- self.metadata["units"] = self.metadata["units"][-self.ndim:]
48
49
def write_tile_slab_to_zarr(
50
self, chunk_num: int, zarray: zarr.Array, src_volume: list
0 commit comments