DCBIA-OrthoLab / SlicerAutomatedDentalTools

A 3D Slicer extension to use AMASSS, ALI-CBCT and ALI-IOS
Other
79 stars 22 forks source link

BUG: Flybyprocess = autocrop3d_cli #51

Closed Jeanneclre closed 9 months ago

Jeanneclre commented 9 months ago

Hello @allemangD

One of our clinician tried to use AutoCrop3D but she got an error:

Traceback (most recent call last): File "/Applications/Slicer.app/Contents/Extensions-31938/SlicerAutomatedDentalTools/lib/Slicer-5.4/qt-scripted-modules/AutoCrop3D.py", line 314, in onApplyButton self.logic.process() File "/Applications/Slicer.app/Contents/Extensions-31938/SlicerAutomatedDentalTools/lib/Slicer-5.4/qt-scripted-modules/AutoCrop3D.py", line 613, in process flybyProcess = slicer.modules.crop_volumes_cli AttributeError: module 'modules' has no attribute 'crop_volumes_cli' Traceback (most recent call last): File "/Applications/Slicer.app/Contents/Extensions-31938/SlicerAutomatedDentalTools/lib/Slicer-5.4/qt-scripted-modules/AutoCrop3D.py", line 314, in onApplyButton self.logic.process() File "/Applications/Slicer.app/Contents/Extensions-31938/SlicerAutomatedDentalTools/lib/Slicer-5.4/qt-scripted-modules/AutoCrop3D.py", line 613, in process flybyProcess = slicer.modules.crop_volumes_cli AttributeError: module 'modules' has no attribute 'crop_volumes_cli' `

I changed the line 613 with "flybyProcess = slicer.modules.autocrop3d_cli" but I am not sure it is the thing to do. Could you tell me if you have a hints?

Thank you!