lorifranke / SlicerTMS

Extension in 3DSlicer for visualization of TMS
GNU General Public License v3.0
15 stars 7 forks source link

Failed to open extension #18

Open beibeix opened 1 month ago

beibeix commented 1 month ago

image

According the procedure,select extension open the folder with SlicerTMS.py,but it fails.

beibeix commented 1 month ago

Traceback (most recent call last): File "C:/ProgramData/slicer.org/Slicer 5.6.1/bin/../lib/Slicer-5.6/qt-scripted-modules/ExtensionWizard.py", line 284, in selectExtension xd = SlicerWizard.ExtensionDescription(sourcedir=path) File "C:\ProgramData\slicer.org\Slicer 5.6.1\bin\Python\SlicerWizard\ExtensionDescription.py", line 141, in init p = ExtensionProject(sourcedir, filename=cmakefile) File "C:\ProgramData\slicer.org\Slicer 5.6.1\bin\Python\SlicerWizard\ExtensionProject.py", line 56, in init raise OSError("%s not found" % filename) OSError: CMakeLists.txt not found

lorifranke commented 1 week ago

@beibeix Yes, alternatively, you can install SlicerTMS if you open up the Settings and then under Modules tab. You can add the path to the application (path to the client/SlicerTMS folder with the containing SlicerTMS.py file) by clicking the two arrows on the right of the window and selecting 'Add'. Then you will need to restart Slicer afterwards. Check out the image.

img2