What steps will reproduce the problem?
1. Read a DICOM RT Structure Set from PLUNC
What is the expected output? What do you see instead?
dicompyler should properly parse the color data from each structure / ROI, but
instead it produces the following traceback:
dicompyler: INFO: _convert: Could not convert value ''255/0/0'' to VR 'IS' in
tag (3006, 002a)
dicompyler: ERROR: Unhandled exception: Traceback (most recent call last):
File ""wx\_core.pyo"", line 14618, in <lambda>
File ""main.py"", line 469, in OnUpdatePatientData
File ""main.py"", line 499, in PopulateStructures
File ""dicompyler\guiutil.pyo"", line 171, in Append
File ""dicompyler\guiutil.pyo"", line 198, in __init__
File ""dicompyler\guiutil.pyo"", line 241, in __init__
TypeError: iteration over a 0-d array"
The fix for this is dependent on pydicom to read the value (see:
http://code.google.com/p/pydicom/issues/detail?id=109
If this cannot be fixed in pydicom, the value can be dropped and a random color
can be assigned.
Original issue reported on code.google.com by bastula on 2 Jan 2012 at 7:29
Original issue reported on code.google.com by
bastula
on 2 Jan 2012 at 7:29