Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/spatialdata/_core/spatialdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@ def __init__(
self.validate_table_in_spatialdata(v)
self.tables[k] = v

self._query = QueryManager(self)

def validate_table_in_spatialdata(self, table: AnnData) -> None:
"""
Validate the presence of the annotation target of a SpatialData table in the SpatialData object.
Expand Down Expand Up @@ -525,7 +523,7 @@ def query(self) -> QueryManager:
spatialdata.bounding_box_query
spatialdata.polygon_query
"""
return self._query
return QueryManager(self)

def aggregate(
self,
Expand Down
Loading