From 96ddde1f7432a452d32812fea75f91742caa404a Mon Sep 17 00:00:00 2001 From: Joe Hamman Date: Fri, 31 Jan 2025 07:46:36 -0800 Subject: [PATCH] Update docs/release-notes.rst Co-authored-by: Davis Bennett --- docs/release-notes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes.rst b/docs/release-notes.rst index f9164d8e0..2e436c550 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -21,7 +21,7 @@ Features - Test the error raised for invalid buffer arguments in ``StoreTests``. (:issue:`2693`) - Test that data can be written to a store that's not yet open using the store.set method in ``StoreTests``. (:issue:`2693`) - Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array`` - to use ``init_array``. ``create_array`` takes two a new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``. + to use ``init_array``. ``create_array`` takes two new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``. If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``, then the values in ``data`` will be written to the newly created array. (:issue:`2761`)