SlicerDentalModelSeg icon indicating copy to clipboard operation
SlicerDentalModelSeg copied to clipboard

Extension Loading Failure on Linux Machine Due to Unused Import

Open eslam69 opened this issue 10 months ago • 0 comments

The instantiation failure of the CrownSegmentation module in Slicer is attributed to the following line: https://github.com/DCBIA-OrthoLab/SlicerDentalModelSeg/blob/e98d590c92f1a61e1e374005b16a0ea76067170f/CrownSegmentation/CrownSegmentation.py#L10 It is noted that only CondaSetUpCallWsl is utilized from this import. A potential resolution involves relocating the import statement to the scope where it is used, specifically within the else statement's scope: https://github.com/DCBIA-OrthoLab/SlicerDentalModelSeg/blob/e98d590c92f1a61e1e374005b16a0ea76067170f/CrownSegmentation/CrownSegmentation.py#L736-L739

Should I proceed to fix this issue by submitting a PR?

eslam69 avatar Apr 05 '24 20:04 eslam69