[go: nahoru, domu]

Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaMarconato committed May 24, 2024
1 parent 579d972 commit 94112e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning][].

- (Xenium) support reading multi-polygon selection files from the Xenium Explorer
- (ISS) An experimental loader to load elemental ISS data objects, e.g. raw.tif, label.tif and anndata.h5ad
- (Stereo-seq) Added reader.

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions src/spatialdata_io/readers/stereoseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def stereoseq(
adata.obs[column_name] = adata.obs[column_name].astype("category")

images = {
f"{name}": Image2DModel.parse(
Path(name).stem: Image2DModel.parse(
imread(path / SK.REGISTER / name, **imread_kwargs), dims=("c", "y", "x"), **image_models_kwargs
)
for name in image_filenames
Expand Down Expand Up @@ -336,7 +336,7 @@ def stereoseq(
dims=("c", "y", "x"),
**image_models_kwargs,
)
images[f"{cell_mask_name}"] = masks
images[Path(cell_mask_name).stem] = masks

sdata = SpatialData(images=images, tables=tables, shapes=shapes, points=points)
return sdata

0 comments on commit 94112e1

Please sign in to comment.