File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
455456def _csr_bilateral_diag_scale_helper (
456457 mat : csr_array | csr_matrix ,
Original file line number Diff line number Diff line change 2222from squidpy ._docs import d
2323from 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-
3432def _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
You can’t perform that action at this time.
0 commit comments