suever / pydicom-experimental

pydicom test
0 stars 1 forks source link

'del' does not work when referring via tag number #127

Closed suever closed 9 years ago

suever commented 9 years ago

From ha...@maclean.se on May 22, 2013 05:16:10

What steps will reproduce the problem? 1. read in a dicom file

  1. try deleting a tag by referencing via tag number following syntax in user guide, e.g. del ds[0x0008,0x0080] What is the expected output? What do you see instead? Exception is raised about wrong key. What version of the product are you using? 0.9.5 & 0.9.8

Resolution: A work-around is instead writing del ds[0x00080080], but there seems to be something wrong when using 'del'. Accessing the attribute by simply writing 'ds[0x0008,0x0080]' works.

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

suever commented 9 years ago

From darcymason@gmail.com on May 23, 2013 19:04:27

This issue was closed by revision 0d9f5fc76977 .

Status: Fixed