Skip to content

Commit

Permalink
add documentation on ImageArray.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
ieivanov committed Nov 27, 2024
1 parent b7b8adc commit 0877598
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iohub/ngff/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit 0877598

Please sign in to comment.