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
"Use obst (e.g. `k in tdata.obst` or `adata.obst.keys()`) instead of TreeData.obst_keys, TreeData.obst_keys is deprecated and will be removed in the future.",
238
+
FutureWarning,
239
+
stacklevel=2,
240
+
)
235
241
returnlist(self._obst.keys())
236
242
237
243
defvart_keys(self) ->list[str]:
238
244
"""List keys of variable annotation `vart`."""
245
+
warnings.warn(
246
+
"Use vart (e.g. `k in tdata.vart` or `adata.vart.keys()`) instead of TreeData.vart_keys, TreeData.vart_keys is deprecated and will be removed in the future.",
247
+
FutureWarning,
248
+
stacklevel=2,
249
+
)
239
250
returnlist(self._vart.keys())
240
251
241
252
@property
@@ -496,7 +507,7 @@ def write_h5td(
496
507
defwrite_zarr(
497
508
self,
498
509
store: MutableMapping|PathLike,
499
-
chunks: bool|int|tuple[int, ...] |None=None,
510
+
chunks: tuple[int, ...] |None=None,
500
511
**kwargs,
501
512
):
502
513
"""Write a hierarchical Zarr array store.
@@ -510,6 +521,13 @@ def write_zarr(
510
521
"""
511
522
from .writeimportwrite_zarr
512
523
524
+
ifisinstance(chunks, bool):
525
+
msg= (
526
+
"Passing `write_zarr(adata, chunks=True)` is no longer supported. "
0 commit comments