Skip to content

Commit

Permalink
get_extent() refactoring (#318)
Browse files Browse the repository at this point in the history
Co-authored-by: Sonja Stockhaus <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tim Treis <[email protected]>
  • Loading branch information
4 people authored Oct 10, 2023
1 parent 14bf585 commit cf925c5
Show file tree
Hide file tree
Showing 14 changed files with 790 additions and 92 deletions.
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Operations on `SpatialData` objects.
bounding_box_query
polygon_query
get_values
get_extent
match_table_to_element
concatenate
rasterize
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dependencies = [
"networkx",
"xarray-spatial>=0.3.5",
"tqdm",
"fsspec<=2023.6",
]

[project.optional-dependencies]
Expand Down
5 changes: 5 additions & 0 deletions src/spatialdata/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from importlib.metadata import version

__version__ = version("spatialdata")
Expand All @@ -22,16 +24,19 @@
"get_values",
"match_table_to_element",
"SpatialData",
"get_extent",
"read_zarr",
"unpad_raster",
"save_transformations",
]

from spatialdata import dataloader, models, transformations
from spatialdata._core.concatenate import concatenate
from spatialdata._core.data_extent import get_extent
from spatialdata._core.operations.aggregate import aggregate
from spatialdata._core.operations.rasterize import rasterize
from spatialdata._core.operations.transform import transform
from spatialdata._core.query._utils import circles_to_polygons, get_bounding_box_corners
from spatialdata._core.query.relational_query import get_values, match_table_to_element
from spatialdata._core.query.spatial_query import bounding_box_query, polygon_query
from spatialdata._core.spatialdata import SpatialData
Expand Down
Loading

0 comments on commit cf925c5

Please sign in to comment.