Open tbirdso opened 1 year ago
Another data point for reproducibility, observed ZeroDivisionError
when trying to run view(label_image=label_img, ui_collapsed=True)
in https://github.com/KitwareMedical/ITKUltrasound/blob/master/examples/SpectralDistributions.ipynb
Platform: Ubuntu 20.04 Python 3.8.8 ITK == v5.3rc04 itkwidgets == 1.0a21 zarr == 2.12.0 dask == 2022.8.0 dask-image == 2021.12.0
It appears that the issue is not present in itkwidgets==0.32.4
, downgrading to that version is a sufficient workaround for now.
Background
Observed zero division error when trying to view 3D ITK image with itkwidgets.view in a Jupyter notebook.
Output
Cell:
Output:
Additional Information
The error does not appear and viewing does succeed when the image is cropped to a smaller size, i.e. 400x400x1000.
Image information printout:
Steps to reproduce
Download CCFv3
average_template_10.nrrd
: http://download.alleninstitute.org/informatics-archive/current-release/mouse_ccf/average_template/Load and view:
Platform Information
Windows 10