I don’t see anything wrong in this code or that could lead to the error message that you described. See more information and examples for using parameter nodes in scripted modules in this post: How to save slicer scene with both slicer data and with "self.variables" within custom widget
lassoan
(Andras Lasso)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| save and reload custom parameterNodeWrapper | 2 | 46 | April 28, 2025 | |
| How to save slicer scene with both slicer data and with "self.variables" within custom widget | 19 | 3461 | August 11, 2025 | |
| How to handle the new parameter node wrapper? | 4 | 353 | January 25, 2024 | |
| Fill a newly created parameter node | 2 | 780 | February 22, 2020 | |
| ModuleNotFoundError when importing from slicer.parameterNodeWrapper | 2 | 938 | May 25, 2023 |