-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello,
I installed spatialdata in the segger environment through pip install segger[spatialdata]
When running the command
segger export -s /common/ganesanv/als-xenium/CTL_0_segger/segger_segmentation.parquet -i /common/zamojskim/Brain/M1C/Diaz_ALS_Xenium/CTLsample_20250602_895 -o /common/ganesanv/als-xenium/data/CTL_0-segger.zarr --format spatialdata
I get the error:
File "/common/ganesanv/opt/segger/src/segger/export/spatialdata_writer.py", line 313, in _create_spatialdata
sdata = spatialdata.SpatialData.from_elements_dict(elements)
AttributeError: type object 'SpatialData' has no attribute 'from_elements_dict'
Is this a version compatibility error? I see in the spatialdata docs that there is a similar function called, SpatialData.init_from_elements().
This is using spatialdata version 0.7.2.