Description
What happened?
This issue was originally raised on PyNWB here NeurodataWithoutBorders/pynwb#2055 (comment) by @FrancescoNegri
I would like to reopen this issue as we switched to the
zarr
backend @stephprince.In that case, according to my understanding, there is no
maxshape
attribute to edit. Theappend_data
function indata_utils.py
called byadd_electrode
works by appending a new row to thedata
object of typeZarrArray
(the dataset to modify). Unluckily,data.read_only
is set toTrue
, even if I opened the.nwb
file withmode="r+"
.I double checked the same
ZarrArray
by opening it via thezarr
module andread_only == False
, making the dataset editable. Is this behaviour expected? Is there a workaround I could exploit to add new electrodes to an existing electrode table?Thanks in advance to everyone!
Steps to Reproduce
See https://github.com/NeurodataWithoutBorders/pynwb/issues/2055
Traceback
None
Operating System
macOS
Python Version
3.13
Package Versions
No response