What steps will reproduce the problem?
1. Try to anonymize a file that does not have a file meta info with:
* (0002, 0002) Media Storage SOP Class UID
* (0002, 0003) Media Storage SOP Instance UID
What is the expected output? What do you see instead?
It should anonymize normally, however the plugin will crash.
There was a change in pydicom 0.9.4 that moved the file meta info to a separate
object (ds.file_meta). This object needs to be updated with the correct Media
Storage SOP Class and Instance tags before writing out the file, as some DICOM
files do not contain them and will fail upon writing out to disk.
Original issue reported on code.google.com by bastula on 14 Jul 2010 at 3:59
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35637436-update-the-anonymization-plugin-so-that-it-writes-out-the-file-meta-info-for-all-files?utm_campaign=plugin&utm_content=tracker%2F18109348&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18109348&utm_medium=issues&utm_source=github).
Original issue reported on code.google.com by
bastula
on 14 Jul 2010 at 3:59