Skip to content

Commit 0afe048

Browse files
committed
Extra arguments in writer constructor fix
1 parent 34a7180 commit 0afe048

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tiledb/bioimg/converters/base.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ def from_tiledb(
284284
output_config = config
285285

286286
slide = TileDBOpenSlide(input_path, attr=attr, config=config)
287-
writer = cls._ImageWriterType(destination_uri, logger, **(writer_kwargs or {}))
287+
ome = writer_kwargs.get("ome", None)
288+
writer = cls._ImageWriterType(
289+
destination_uri, logger, **({"ome": True if ome else None} or {})
290+
)
288291

289292
with slide, writer:
290293
writer.write_group_metadata(slide.properties)

0 commit comments

Comments
 (0)