Skip to content

Commit c6d659e

Browse files
Merge pull request #332 from quentinblampey/merscope_use_z
Use `global_z` in the merscope coordinates
2 parents 68b949d + d7616b8 commit c6d659e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_io/readers/merscope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def _get_points(transcript_path: Path, transformations: dict[str, BaseTransforma
302302
transcript_df = dd.read_csv(transcript_path)
303303
transcripts = PointsModel.parse(
304304
transcript_df,
305-
coordinates={"x": MerscopeKeys.GLOBAL_X, "y": MerscopeKeys.GLOBAL_Y},
305+
coordinates={"x": MerscopeKeys.GLOBAL_X, "y": MerscopeKeys.GLOBAL_Y, "z": MerscopeKeys.GLOBAL_Z},
306306
transformations=transformations,
307307
feature_key=MerscopeKeys.GENE_KEY,
308308
)

0 commit comments

Comments
 (0)