Skip to content

Commit 487803d

Browse files
Merge pull request #389 from Mira-Kreuzer/main
fix visium_hd reader
2 parents 433014e + ef5afeb commit 487803d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_io/readers/visium_hd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def _get_bins(path_bins: Path) -> list[str]:
346346
# Integrate the segmentation data (skipped if segmentation files are not found)
347347
if cell_segmentation_files_exist:
348348
print("Found segmentation data. Incorporating cell_segmentations.")
349-
cell_adata_hd = sc.read_10x_h5(COUNT_MATRIX_PATH)
349+
cell_adata_hd = sc.read_10x_h5(COUNT_MATRIX_PATH, gex_only=False)
350350
cell_adata_hd.var_names_make_unique()
351351

352352
cell_shapes_gdf = _extract_geometries_from_geojson(

0 commit comments

Comments
 (0)