Opened 2 years ago
Closed 18 months ago
#9850 closed defect (fixed)
Issues when Segmentations tool is already open w/o data when new DICOM data opened
Reported by: | Elaine Meng | Owned by: | Zach Pearson |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | DICOM | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
This situation occurs because closing the previous DICOM data does not remove the Segmentations tool (follow-on to #9849). A couple of problems:
when I open another new DICOM dataset, it is not shown in the 4-up view.
When I then use "dicom view four" to remedy that, I get a Runtime Error traceback:
RuntimeError: Tried to get the position of deleted drawing "axial segmentation cursor"
File "/Users/meng/Desktop/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/chimerax/graphics/drawing.py", line 492, in _drawing_get_position
raise RuntimeError('Tried to get the position of deleted drawing "%s"' % self.name)
See log for complete Python traceback.
Was fixed by this commit some time ago.