Closed jonieva closed 7 years ago
Well, apparently the SH 2.0 API was not integrated into the 4.6.2 Slicer release. That means that the CIP_LungLesionSegmentation module is not going to work. We would need to go back to a pretty old version, which I think it's not worth it. See https://discourse.slicer.org/t/api-change-in-subjecthierarchynode/838 for discussion. The module should work ok in the nightly build, and also in the pre-packed version of SlicerCIP that can be downloaded from https://chestimagingplatform.org/download
Apparently there's been a change at some point in SubjectHierarchyNode. Depending on the Slicer version (/settings?) there are different settings for the SubjectHierarchyNode. This seems to be related with some change in the API, because it provokes an error when getting the root node with: slicer.vtkMRMLSubjectHierarchyNode.GetSubjectHierarchyNode(slicer.mrmlScene)
Interestingly, this happens in the Release and in the last nightly, but not with some intermediate versions. So my take is that it may be related to some settings.