Skip to content

Commit 9bb25e5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f3d12bc commit 9bb25e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/spatialdata_io/readers/xenium.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,7 @@ def xenium(
324324
f"chNNNN_<name>.ome.tif starting with {XeniumKeys.MORPHOLOGY_FOCUS_V4_DAPI_FILENAME.value}"
325325
)
326326
first_tiff_path = morphology_focus_dir / XeniumKeys.MORPHOLOGY_FOCUS_V4_DAPI_FILENAME.value
327-
ome = ome_types.from_xml(
328-
tifffile.tiffcomment(first_tiff_path),
329-
validate=False)
327+
ome = ome_types.from_xml(tifffile.tiffcomment(first_tiff_path), validate=False)
330328

331329
# Get channel names from the OME XML
332330
ome_channels = ome.images[0].pixels.channels

0 commit comments

Comments
 (0)