QIICR / LongitudinalPETCT

Longitudinal PET/CT Analysis Module for Slicer 4
Other
4 stars 4 forks source link

BUG: Fix loading of module UI importing EditorWidget #15

Closed jcfr closed 5 years ago

jcfr commented 5 years ago

Fixes #14

This commit fixes the following error reported when opening the module in Slicer 4.10.0:

Loading Slicer RC file [/home/jcfr/.slicerrc.py]
Traceback (most recent call last):
  File "/home/jcfr/.config/NA-MIC/Extensions-27501/LongitudinalPETCT/lib/Slicer-4.10/qt-loadable-modules/Python/qSlicerLongitudinalPETCTModuleWidget.py", line 432, in setup
    self.__createEditorWidget()
  File "/home/jcfr/.config/NA-MIC/Extensions-27501/LongitudinalPETCT/lib/Slicer-4.10/qt-loadable-modules/Python/qSlicerLongitudinalPETCTModuleWidget.py", line 99, in __createEditorWidget
    self.editorWidget = EditorWidget(editorWidgetParent, False)
NameError: global name 'EditorWidget' is not defined
fedorov commented 5 years ago

Thanks JC!

Considering you get time to look at the extensions, do you have any idea what is going on in this one: https://github.com/Radiomics/SlicerRadiomics/issues/50