Skip to content

Commit 7241646

Browse files
committed
fixed category name bug with xenium
1 parent 99aad1c commit 7241646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_io/readers/xenium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def _poly(arr: ArrayLike) -> Polygon:
168168

169169
def _get_points(path: Path, specs: dict[str, Any]) -> Table:
170170
table = read_parquet(path / XeniumKeys.TRANSCRIPTS_FILE)
171-
table['feature_name'] = table['feature_name'].apply(lambda x: x.decode('utf-8'), meta=('feature_name', 'object'))
171+
table["feature_name"] = table["feature_name"].apply(lambda x: x.decode("utf-8"), meta=("feature_name", "object"))
172172

173173
transform = Scale([1.0 / specs["pixel_size"], 1.0 / specs["pixel_size"]], axes=("x", "y"))
174174
points = PointsModel.parse(

0 commit comments

Comments
 (0)