QIICR / LongitudinalPETCT

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

NameError: global name 'LabelStatisticsLogic' is not defined #5

Closed jcfr closed 9 years ago

jcfr commented 9 years ago

After adding a segmentation to findings, here is the error:

Traceback (most recent call last):
  File "/home/jcfr/.config/NA-MIC/Extensions-24309/LongitudinalPETCT/lib/Slicer-4.4/qt-loadable-modules/Python/qSlicerLongitudinalPETCTModuleWidget.py", line 1413, in onAddSegmentationToFinding
    self.calculateSUVsAndStatistics(study, finding)
  File "/home/jcfr/.config/NA-MIC/Extensions-24309/LongitudinalPETCT/lib/Slicer-4.4/qt-loadable-modules/Python/qSlicerLongitudinalPETCTModuleWidget.py", line 1445, in calculateSUVsAndStatistics
    stats = LabelStatisticsLogic(study.GetPETVolumeNode(), study.GetPETLabelVolumeNode())
NameError: global name 'LabelStatisticsLogic' is not defined