Skip to content

Commit d7616b8

Browse files
use global_z in the merscope coordinates
1 parent 68b949d commit d7616b8

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)