File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/spatialdata_io/readers Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ def xenium(
221221
222222 if version is not None and version >= packaging .version .parse ("2.0.0" ) and table is not None :
223223 assert cells_zarr is not None
224- cell_summary_table = _get_cells_metadata_table_from_zarr (cells_zarr , specs , cells_zarr_cell_id_str )
224+ cell_summary_table = _get_cells_metadata_table_from_zarr (cells_zarr , cells_zarr_cell_id_str )
225225 try :
226226 _assert_arrays_equal_sampled (
227227 cell_summary_table [XeniumKeys .CELL_ID ].values , table .obs [XeniumKeys .CELL_ID ].values
@@ -515,7 +515,7 @@ def _get_labels_and_indices_mapping(
515515 mask_index : int ,
516516 labels_name : str ,
517517 cells_zarr : zarr .Group ,
518- cell_id_str : ArrayLike ,
518+ cell_id_str : ArrayLike | None ,
519519 labels_models_kwargs : Mapping [str , Any ] = MappingProxyType ({}),
520520) -> tuple [GeoDataFrame , pd .DataFrame | None ]:
521521 if mask_index not in [0 , 1 ]:
@@ -572,7 +572,6 @@ def _get_labels_and_indices_mapping(
572572@inject_docs (xx = XeniumKeys )
573573def _get_cells_metadata_table_from_zarr (
574574 cells_zarr : zarr .Group ,
575- specs : dict [str , Any ],
576575 cell_id_str : ArrayLike ,
577576) -> AnnData :
578577 """Read cells metadata from ``{xx.CELLS_ZARR}``.
You can’t perform that action at this time.
0 commit comments