Closed suever closed 9 years ago
From mikewall...@gmail.com on February 18, 2010 16:17:45
I have added the following elements to dicom/testcharsetfiles/chrFren.dcm
Running the unit tests using this modified file will cause the error reported. It also exposed a problem with my initial patch (I didn't handle the case where a PersonName element has a VM greater than 1) so I have attached an updated patch, along with the modified dicom file.
Attachment: chrFren.dcm charset.py.patch
From darcymason@gmail.com on February 26, 2010 05:30:15
This issue was closed by revision 377e3fd1d6 .
Status: Fixed
From mikewall...@gmail.com on February 17, 2010 15:39:20
What steps will reproduce the problem? 1. dcm = dicom.read_file('foo.dcm')
Have attached a patch which fixes the issue by using a list comprehension if the VM is anything other than 1. Seems to work though I haven't tested it with the pydicom unit tests.
Attachment: charset.py.patch
Original issue: http://code.google.com/p/pydicom/issues/detail?id=78