You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe your wishes and possible alternatives to achieve the desired result.
Hi,
I have a use case in which I am using write_dispatched to perform partial writes of an AnnData object (i.e., I want to add new arrays at locations like adata.layers["counts"]) without having all existing keys loaded into memory.
The current write_elem implementation executes store.clear() at the root of the store
Please describe your wishes and possible alternatives to achieve the desired result.
Hi,
I have a use case in which I am using write_dispatched to perform partial writes of an AnnData object (i.e., I want to add new arrays at locations like
adata.layers["counts"]
) without having all existing keys loaded into memory.The current
write_elem
implementation executesstore.clear()
at the root of the storeanndata/src/anndata/_io/specs/registry.py
Line 348 in 8e9eb88
which I do not want to occur because I want to keep the existing store contents and only add to the existing on-disk data structure.
Can this store root clearing be made optional / possible to override when using
write_dispatched
andwrite_elem
?Possible alternatives
Currently I am doing this
The text was updated successfully, but these errors were encountered: