Skip to content

Commit

Permalink
Tell Bioformats not to "flatten" pyramids (#193)
Browse files Browse the repository at this point in the history
If an input image has a thumbnail or other subresolution image, this change
will allow us to read it without getting tripped up by the subresolutions.
  • Loading branch information
jmuhlich committed May 11, 2023
1 parent 3091bf3 commit fe5c555
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ashlar/reg.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def _init_metadata(self):
metadata = service.createOMEXMLMetadata()
self._reader = ChannelSeparator()
self._reader.setMetadataStore(metadata)
self._reader.setFlattenedResolutions(False)
# For multi-scene .CZI files, we need raw tiles instead of the
# auto-stitched mosaic and we don't want labels or overview images
options = DynamicMetadataOptions()
Expand Down

0 comments on commit fe5c555

Please sign in to comment.