acil-bwh / SlicerCIP

Slicer extension for the Chest Imaging Platform
BSD 3-Clause "New" or "Revised" License
15 stars 23 forks source link

Issues with SubjectHierarchyNode #14

Closed jonieva closed 7 years ago

jonieva commented 7 years ago

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.

jonieva commented 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