# SimpleITK dicom series, read tags

**URL:** <https://discourse.itk.org/t/simpleitk-dicom-series-read-tags/362>\
**Category:** Engineering\
**Tags:** dicom, simpleitk\
**Created:** [October 28, 2017, 12:39pm UTC](https://discourse.itk.org/t/simpleitk-dicom-series-read-tags/362 "2017-10-28T12:39:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonasteuwen](https://discourse.itk.org/user_avatar/discourse.itk.org/jonasteuwen/32/1335_2.png) [@jonasteuwen](https://discourse.itk.org/u/jonasteuwen)\
**Post date:** [October 28, 2017, 12:39pm UTC](https://discourse.itk.org/t/simpleitk-dicom-series-read-tags/362/1 "2017-10-28T12:39:53Z")

</div>

Dear ITK users,

As we are working on a reader study, we want to change some dicom tags so the reader is unable to discover which of the images they are looking at. Previously I wrote tool for that in ITK, which works well, but since those computers usually run windows, I have tried writing it in SimpleITK.

I follow the following example: [https://github.com/SimpleITK/SimpleITK/blob/master/Examples/DicomSeriesReadModifyWrite/DicomSeriesReadModifySeriesWrite.py](https://github.com/SimpleITK/SimpleITK/blob/master/Examples/DicomSeriesReadModifyWrite/DicomSeriesReadModifySeriesWrite.py)

However, I cannot read the dicom tags, as I get the following error: AttributeError: ‘ImageSeriesReader’ object has no attribute ‘MetaDataDictionaryArrayUpdateOn’

Do I need to compile a certain version of SimpleITK (which would defeat the purpose), or what else am I doing wrong? Reading the tags of single files works well, by the way.

---

<div class="post-metadata">

**Author:** ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Post date:** [October 28, 2017, 1:11pm UTC](https://discourse.itk.org/t/simpleitk-dicom-series-read-tags/362/2 "2017-10-28T13:11:12Z")

</div>

You are looking at the current development branch, master, and not the release. We recently added that convenience method.

Here is the example for the 1.0 release:  
[https://itk.org/SimpleITKDoxygen100/html/DicomSeriesReadModifyWrite\_2DicomSeriesReadModifySeriesWrite\_8py-example.html](https://itk.org/SimpleITKDoxygen100/html/DicomSeriesReadModifyWrite_2DicomSeriesReadModifySeriesWrite_8py-example.html)
