google-code-export / pydicom

Automatically exported from code.google.com/p/pydicom
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. read in a dicom file
2. 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 reported on code.google.com by ha...@maclean.se on 22 May 2013 at 9:16

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 0d9f5fc76977.

Original comment by darcymason@gmail.com on 24 May 2013 at 2:04