From b661d747ebcf1531f15adbf19bd66f821dc0e019 Mon Sep 17 00:00:00 2001 From: Christian Kento Rasmussen <christian.kento@gmail.com> Date: Wed, 22 Jan 2025 13:42:15 +0100 Subject: [PATCH] Add type hints for parameters in scaling methods and fixed method name --- qim3d/io/_ome_zarr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qim3d/io/_ome_zarr.py b/qim3d/io/_ome_zarr.py index 022e16cd..c135e325 100644 --- a/qim3d/io/_ome_zarr.py +++ b/qim3d/io/_ome_zarr.py @@ -161,7 +161,7 @@ class OMEScaler( return list(rv) - def scaleZYXdask_legacy(self, base): + def scaleZYXdask_legacy(self, base: da.core.Array): """Downsample using the original OME-Zarr python library""" rv = [base] @@ -179,7 +179,7 @@ class OMEScaler( log.info(f"- Scale {i+1}: {rv[-1].shape}") return list(rv) - def scaleZYXmean(self, base): + def scaleZYXdask_mean(self, base: da.core.Array): """ Downsample using the mean of the pixels in each block Args: -- GitLab