PointsModel.parse fails when called with dask 2026.1.1.
Reproduce
This code reproduces the issue when parsing transcripts from a Xenium dataset:
importdask.dataframeasddfromspatialdata.modelsimportPointsModelfromspatialdata.transformationsimportIdentityddf=dd.read_parquet("path_to_xenium_output/transcripts.parquet")
points_parse_kwargs= {
'coordinates': {'x': 'x_location', 'y': 'y_location', 'z': 'z_location'},
'transformations': {'global': Identity()},
'feature_key': 'feature_name',
}
points=PointsModel.parse(ddf, **points_parse_kwargs)Fails with:
AttributeError: 'DataFrame' object has no attribute 'attrs'
PointsModel.parsefails when called with dask 2026.1.1.Reproduce
This code reproduces the issue when parsing transcripts from a Xenium dataset:
Fails with: