From 08775980ba19b6871dcfd030f9443ad66e8aedf9 Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Wed, 27 Nov 2024 15:19:30 -0800 Subject: [PATCH] add documentation on ImageArray.__init__ --- iohub/ngff/nodes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iohub/ngff/nodes.py b/iohub/ngff/nodes.py index d07a5e3..ff27887 100644 --- a/iohub/ngff/nodes.py +++ b/iohub/ngff/nodes.py @@ -311,6 +311,9 @@ class ImageArray(zarr.Array): """Container object for image stored as a zarr array (up to 5D)""" def __init__(self, zarray: zarr.Array = None, **kwargs): + """Keyword arguments are passed to the zarr.Array constructor. + If a zarr.Array is provided, the constructor will use its attributes. + """ if zarray is not None: kwargs.update( {