suever / pydicom-experimental

pydicom test
0 stars 1 forks source link

Correct line 48 in filewriter.py #140

Closed suever closed 9 years ago

suever commented 9 years ago

From paul.mor...@gmail.com on April 03, 2014 17:34:02

What steps will reproduce the problem? 1. Save a dicom file created from scratch 2. 3. What is the expected output? What do you see instead? dicom/filewriter.py", line 48, in write_numbers raise IOError("{0}\nfor data_element:\n{1}".format(str(e), str(data_elemesnt))) NameError: global name 'data_elemesnt' is not defined

What version of the product are you using? '0.9.8' _NOTE_: any text or attached files posted with the issue can be viewed by anyone. You are solely responsible to ensure that they contain no confidential information of any kind. Please provide any additional information below. I corrected directly the line in my package and it works. the new line should be:

raise IOError("{0}\nfor data_element:\n{1}".format(str(e), str(data_element)))

Original issue: http://code.google.com/p/pydicom/issues/detail?id=140

suever commented 9 years ago

From Suever@gmail.com on April 04, 2014 08:54:29

This is a duplicate of Issue #125 and #131. The error was corrected after the 0.9.8 release.

Status: Duplicate
Mergedinto: 125