Skip to content

Commit 1dbdfd2

Browse files
committed
Merge branch 'chore/sdata-access' of https://github.com/selmanozleyen/squidpy into chore/sdata-access
2 parents 7ceb9bf + 1a9c986 commit 1dbdfd2

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/squidpy/gr/_build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def spatial_neighbors(
147147
adata=adata,
148148
elements_to_coordinate_systems=elements_to_coordinate_systems,
149149
table_key=table_key,
150-
spatial_key=spatial_key
150+
spatial_key=spatial_key,
151151
)
152152

153153
_assert_positive(n_rings, name="n_rings")
@@ -451,6 +451,7 @@ def _resolve_sdata(
451451
library_key = region_key
452452
return adata, library_key
453453

454+
454455
@njit
455456
def _csr_bilateral_diag_scale_helper(
456457
mat: csr_array | csr_matrix,

src/squidpy/gr/_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@
2222
from squidpy._docs import d
2323
from squidpy._utils import NDArrayA, _unique_order_preserving
2424

25-
2625
_TABLE_KEY_DOC = """ table_key
2726
Key in :attr:`spatialdata.SpatialData.tables` to extract.
2827
Only used when ``adata`` is a :class:`spatialdata.SpatialData`.
2928
If `None` and the object contains exactly one table, that table is
3029
used automatically; otherwise a :class:`ValueError` is raised."""
3130

3231

33-
3432
def _resolve_table(sdata: SpatialData, table_key: str | None) -> AnnData:
3533
"""Look up or auto-detect the table inside a :class:`~spatialdata.SpatialData`."""
3634
tables = sdata.tables

0 commit comments

Comments
 (0)