- flatten method for Imread.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 <w.pomp@nki.nl>"]
|
||||
license = "GPLv3"
|
||||
|
||||
Reference in New Issue
Block a user