spatialdata
spatialdata copied to clipboard
query.bounding_box not cropping the table
The code print(sdata) print(sdata.tables['table']) def crop(sdata): return sdata.query.bounding_box( min_coordinate=[2000, 2000], max_coordinate=[2200, 2200], axes=("x", "y"), target_coordinate_system="global" )
print() csdata=crop(sdata) print(csdata)
does not return any error, but the cropped csdata does not have a table, and does not return any warning message
The function works well with the blob example dataset. What can I miss ? I do have spatial keys in my adata obsm. Thanks for your help!