Closed RafaelPalomar closed 10 months ago
We should change this fragment so the function in question does not return different data type (vtkPolyData vs. vtkMRMLNode). Caller functions of this do not handle different data types, but assume the return is vtkMRMLNode.
vtkPolyData
vtkMRMLNode
https://github.com/ALive-research/Slicer-Liver/blob/40402d63fd223cf59be39954c5f620c8984f0199/Liver/Liver.py#L1092-L1094
We should change this fragment so the function in question does not return different data type (
vtkPolyData
vs.vtkMRMLNode
). Caller functions of this do not handle different data types, but assume the return isvtkMRMLNode
.https://github.com/ALive-research/Slicer-Liver/blob/40402d63fd223cf59be39954c5f620c8984f0199/Liver/Liver.py#L1092-L1094