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
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
save and reload custom parameterNodeWrapper | 2 | 16 | April 28, 2025 | |
What's the best approach to saving additional data associated with a module? | 3 | 451 | November 5, 2019 | |
How to handle the new parameter node wrapper? | 4 | 278 | January 25, 2024 | |
How to save slicer scene with both slicer data and with "self.variables" within custom widget | 11 | 3225 | February 4, 2020 | |
Slicer Scripted Module not calling updateParameterNodeFromGUI when UI is updated | 3 | 416 | October 19, 2021 |