Project-MONAI / Project-MONAI/MONAILabel
qMRMLSegmentEditorWidget has no attribute named 'setSourceVolumeNode'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 891
- Forks
- 269
- Avg merge
- 15h 41m
- Merged PRs (30d)
- 1
Description
Describe the bug
with slicer 5.0.2:
Traceback (most recent call last):
File "/Users/Documents/MONAILabel/plugins/slicer/MONAILabel/MONAILabel.py", line 1292, in onNextSampleButton
File "/Users/Documents/MONAILabel/plugins/slicer/MONAILabel/MONAILabel.py", line 1315, in initSample
self.ui.embeddedSegmentEditorWidget.setSegmentationNode(self._segmentNode)
AttributeError: qMRMLSegmentEditorWidget has no attribute named 'setSourceVolumeNode'
It seems setSourceVolumeNode is introduced since slicer 5.2 https://github.com/Slicer/Slicer/commit/5dfb6fb6945d3fb56320c2920571f3ffcc5b48fb
Upgrading slicer to version 5.2.2 addressed the issue.
Would be great to clarify the version requirements
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the Slicer compatibility information and the MONAILabel.py usage reported in the issue, starting with the failing setSegmentationNode call and the linked Slicer change. Update the version requirements so the minimum supported Slicer version is explicit, and confirm that the documented requirement reflects the reported fix in Slicer 5.2.2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100