acil-bwh/SlicerCIP

Lung lesion analyzer run fail with Slicer5.x

phoenixsfly opened this issue · 3 comments

environment:
OS: Windows11
Slicer Ver: 5.2.1 stable release
CIP: install from slicer extension manager

I used this lung lesion analyzer in the tutorial to segmnet lung nodule.
I patched seed point and clicked "Segment nodule" button, the program ran for a while and displayed "Status: Completed with errors"

Lesion Segmentation terminated with an unknown exception.

Traceback (most recent call last):
File "C:/Users/uu/AppData/Local/NA-MIC/Slicer 5.2.1/NA-MIC/Extensions-31317/Chest_Imaging_Platform/lib/Slicer-5.2/qt-scripted-modules/CIP_LesionModel.py", line 2181, in
result.AddObserver("ModifiedEvent", lambda caller, event: self.onNoduleSegmentationCLIStateUpdated(
File "C:/Users/uu/AppData/Local/NA-MIC/Slicer 5.2.1/NA-MIC/Extensions-31317/Chest_Imaging_Platform/lib/Slicer-5.2/qt-scripted-modules/CIP_LesionModel.py", line 2420, in onNoduleSegmentationCLIStateUpdated
raise Exception("The Nodule Segmentation CLI failed")
Exception: The Nodule Segmentation CLI failed

I have done the same things on Ubuntu, the task also failed with:

Lesion Segmentation standard error:
terminate called after throwing an instance of 'slicer_itk::ExceptionObject'
what(): /work/Stable/Slicer-0-build/ITK/Modules/Core/SpatialObjects/include/itkSpatialObjectPoint.hxx:59:
ITK ERROR: SpatialObjectPoint(0x1218f10): The SpatialObject must be set prior to calling.

Traceback (most recent call last):
File "/home/uu/Slicer-5.2.1-linux-amd64/NA-MIC/Extensions-31317/Chest_Imaging_Platform/lib/Slicer-5.2/qt-scripted-modules/CIP_LesionModel.py", line 2181, in
result.AddObserver("ModifiedEvent", lambda caller, event: self.onNoduleSegmentationCLIStateUpdated(
File "/home/uu/Slicer-5.2.1-linux-amd64/NA-MIC/Extensions-31317/Chest_Imaging_Platform/lib/Slicer-5.2/qt-scripted-modules/CIP_LesionModel.py", line 2420, in onNoduleSegmentationCLIStateUpdated
raise Exception("The Nodule Segmentation CLI failed")
Exception: The Nodule Segmentation CLI failed

I try to reinstall Slicer with 5.1.0 and 5.0.0, the the same issue occured
Finally, I download SlicerCIP integrated(4.10.2), everything is OK.
So I guess CIP is not compatible with Slicer5.x, right?

rbumm commented

You are right - CIP lung lesion analyzer is currently not compatible with Slicer 5. 

We may take it out of the selection to leave only functional modules in there.

You are right - CIP lung lesion analyzer is currently not compatible with Slicer 5. 

We may take it out of the selection to leave only functional modules in there.

I see.... It is hoped that the nodule segmentation function will be preserved and compatible with the Slicer5 as soon.🫥