View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004385 | Slicer4 | Core: Scripting (Wrapping, Python) | public | 2017-06-19 11:49 | 2018-03-02 11:00 |
Reporter | lassoan | Assigned To | jcfr | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.7.0 | ||||
Target Version | Slicer 4.7.0 | Fixed in Version | Slicer 4.7.0 | ||
Summary | 0004385: Import vtkSegmentationCorePython and vtkAddonPython by default | ||||
Description | Developers often run into the issue that instead of getting a vtkSegmentation object, they get a plain vtkObject instead:
The issue is that by default vtkSegmentationCorePython is not imported. After import, the object type is correct:
Similarly, VTK objects defined in vtkAddon are not found either: Incorrect node type returned:
Correct node type returned after importing vtkAddon:
| ||||
Tags | No tags attached. | ||||
This issue may cause hard-to-detect errors, too - see https://discourse.slicer.org/t/segment-statistics-does-nothing/1143/3 |
|
See Csaba's pull request - https://github.com/Slicer/Slicer/pull/792 - we would need some help. |
|
Fixed in r26418 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-06-19 11:49 | lassoan | New Issue | |
2017-06-19 11:49 | lassoan | Status | new => assigned |
2017-06-19 11:49 | lassoan | Assigned To | => pinter |
2017-06-19 11:49 | lassoan | Assigned To | pinter => jcfr |
2017-06-19 11:59 | lassoan | Category | Core: Segmentation => Core: Scripting (Wrapping, Python) |
2017-09-29 18:18 | lassoan | Note Added: 0015220 | |
2017-09-29 18:19 | lassoan | Note Added: 0015221 | |
2017-10-03 10:36 | jcfr | Priority | normal => high |
2017-10-03 22:22 | lassoan | Status | assigned => resolved |
2017-10-03 22:22 | lassoan | Resolution | open => fixed |
2017-10-03 22:22 | lassoan | Fixed in Version | => Slicer 4.7.0 |
2017-10-03 22:22 | lassoan | Note Added: 0015248 | |
2018-03-02 11:00 | jcfr | Status | resolved => closed |