Closed yrkim98 closed 3 years ago
Slack message from @derekthirstrup : "I was able to run segmenter with a new environment but it kept stopping after image normalization step 1 when I added the aicsimageio plugin so I could test with multichannel czi files."
See full thread: https://allencellscience.slack.com/archives/C01L7L5M29H/p1626110941152900?thread_ts=1625862947.149100&cid=C01L7L5M29H
I was able to reproduce what I think is the same error. Steps:
3500004429_100X_20210406-Scene-026-P26-E08.czi
(first file in the list) from \\allen\aics\microscopy\StructureSegmentationTesting\data\terf2\batch
conda create -y -n derek python=3.9
conda activate derek
pip install "napari[all]"
napari
Error screenshot (most recent function call):
@yrkim98 and I discovered that at the end of June the aicsimageio napari plugin started to use aicsimageio v4 under the hood, but the aicsimageio version we use for this segmenter plugin is pinned to <4. This version mismatch is probably related to this bug and should be fixed regardless.
Reported by Derek Thirstrup
Description
When loading an multichannel CZI via the napari segmenter plugin, the segmenter GUI does not even pop up and the program crashes
Derek said that he was able to load in image and run segmentations successfully after the latest patch, but the plugin stopped working shortly thereafter.
Expected Behavior
We expect the napari to load the image to the UI and allow the user to perform segmentations via our plugin.
Reproduction
If you load a multichannel CZI (Derek used one located here)
\\allen\aics\microscopy\StructureSegmentationTesting\data\terf2\batch
into napari the segmenter GUI does not even pop up and napari crashes.Brian tried to reproduce this error using the same dependencies and dataset as Derek but everything worked locally.
Environment
Could be an issue with
aicsimageio==4.0.3
, be sure to try that version to reproduce this issue.