DCBIA-OrthoLab / SlicerDentalModelSeg

This extension aims to provide a GUI for a deep-learning automated teeth segmentation tool that we developed at the University of North Carolina in Chapel Hill in collaboration with the University of Michigan in Ann Arbor.
Apache License 2.0
44 stars 10 forks source link

Properly include `seg_code` folder in the output #11

Closed Connor-Bowley closed 2 years ago

Connor-Bowley commented 2 years ago

There is nothing in any of the CMake to actually bring the seg_code folder into Slicer. Thus, when I try to run I get

image

When the extension is actually being installed into / built into Slicer, the source repo won't be there. I don't know exactly how you were adding the extension to slicer, via the Extension Wizard or what, but I think it allowed your sys.path shenanigans to work.

When actually installed closer to how it would be from the extension manager, it can't find the code.

I will fix this and put out PR. There is not a clean slicer way to do this, but we can add some CMake that makes it work.

Connor-Bowley commented 2 years ago

Fix is in PR https://github.com/MathieuLeclercq/SlicerJawSegmentation/pull/14

MathieuLeclercq commented 2 years ago

Thank you for fixing this issue. I have merged your PR.