SlicerDentalModelSeg
SlicerDentalModelSeg copied to clipboard
Extension Loading Failure on Linux Machine Due to Unused Import
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?