We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
level
int
1 parent 7a4a173 commit e678ca3Copy full SHA for e678ca3
histomics_stream/configure.py
@@ -322,7 +322,8 @@ def __call__(self, slide):
322
"in Zarr storage."
323
)
324
325
- slide["level"] = level
+ int_level = int(round(level))
326
+ slide["level"] = int_level if abs(level - int_level) < 1e-4 else level
327
# Note that slide size is defined by the requested magnification, which may not
328
# be the same as the magnification for the selected level. To get the slide
329
# size for the magnification that we are using, these values must later be
0 commit comments