diff --git a/ndbioimage/__init__.py b/ndbioimage/__init__.py index 8aafc8e..7b2b09a 100755 --- a/ndbioimage/__init__.py +++ b/ndbioimage/__init__.py @@ -653,6 +653,9 @@ class Imread(np.lib.mixins.NDArrayOperatorsMixin, ABC): return self.__array_fun__([np.nansum, np.nansum, np.sum], axis, dtype, out, keepdims, None, where, (sfun, s2fun, nfun), cfun) + def flatten(self, *args, **kwargs): + return np.asarray(self).flatten(*args, **kwargs) + @wraps(np.reshape) def reshape(self, *args, **kwargs): return np.asarray(self).reshape(*args, **kwargs) diff --git a/pyproject.toml b/pyproject.toml index e937df4..a689a55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ndbioimage" -version = "2024.3.1" +version = "2024.3.2" description = "Bio image reading, metadata and some affine registration." authors = ["W. Pomp "] license = "GPLv3"