hey @kevinyamauchi 👋
finally have time to try this out, although can't run example:
$ python examples/save_load_points.py
y x size
0 47.642445 24.209154 3
1 80.593025 12.381161 3
2 83.739708 93.137802 3
3 17.738497 55.634464 3
4 58.593430 86.256935 3
5 32.610691 67.198502 3
6 9.933817 82.030869 3
7 75.796082 21.599758 3
8 12.506199 10.603416 3
9 82.929871 61.387028 3
/Users/giovanni.palla/miniconda3/envs/squidpy/lib/python3.8/site-packages/anndata/_core/anndata.py:121: ImplicitModificationWarning: Transforming to str index.
warnings.warn("Transforming to str index.", ImplicitModificationWarning)
Traceback (most recent call last):
File "/Users/giovanni.palla/miniconda3/envs/squidpy/lib/python3.8/site-packages/anndata/_io/utils.py", line 214, in func_wrapper
return func(elem, key, val, *args, **kwargs)
File "/Users/giovanni.palla/miniconda3/envs/squidpy/lib/python3.8/site-packages/anndata/_io/specs/registry.py", line 175, in write_elem
_REGISTRY.get_writer(dest_type, t, modifiers)(f, k, elem, *args, **kwargs)
File "/Users/giovanni.palla/miniconda3/envs/squidpy/lib/python3.8/site-packages/anndata/_io/specs/registry.py", line 64, in get_writer
raise TypeError(
TypeError: No method has been defined for writing <class 'anndata._core.aligned_mapping.AxisArrays'> elements to <class 'zarr.hierarchy.Group'>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "examples/save_load_points.py", line 32, in <module>
write_points_dataset(
File "/Users/giovanni.palla/Projects/ome-ngff-tables-prototype/src/ngff_tables_prototype/writer.py", line 106, in write_points_dataset
write_table(points_group, points_anndata)
File "/Users/giovanni.palla/Projects/ome-ngff-tables-prototype/src/ngff_tables_prototype/writer.py", line 38, in write_table
write_attribute(group, "obsm", adata.obsm, dataset_kwargs)
File "/Users/giovanni.palla/miniconda3/envs/squidpy/lib/python3.8/site-packages/anndata/_io/utils.py", line 134, in write_attribute
return write_elem(*args, **kwargs)
File "/Users/giovanni.palla/miniconda3/envs/squidpy/lib/python3.8/site-packages/anndata/_io/utils.py", line 220, in func_wrapper
raise type(e)(
TypeError: No method has been defined for writing <class 'anndata._core.aligned_mapping.AxisArrays'> elements to <class 'zarr.hierarchy.Group'>
Above error raised while writing key 'obsm' of <class 'zarr.hierarchy.Group'> to <zarr.storage.FSStore object at 0x7f9be6abf400>
do I maybe need a specific branch on ome-ngff ? I just cloned and installed so might be missing something
Thanks!