Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion histomics_stream/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ def __call__(self, slide):
"in Zarr storage."
)

slide["level"] = level
int_level = int(round(level))
slide["level"] = int_level if abs(level - int_level) < 1e-4 else level
# Note that slide size is defined by the requested magnification, which may not
# be the same as the magnification for the selected level. To get the slide
# size for the magnification that we are using, these values must later be
Expand Down