Revision: 03d4ee111dfa
Branch: default
Author: Suever <
sue...@gmail.com>
Date: Sat Nov 22 17:09:43 2014 UTC
Log: Fixes Issue #123 by adding tag numbers to error messages
This is a slight modification to the patch provided by videan42.
With this change, exceptions which occur when traversing a dataset will
provide information regarding which tag caused the exception to occur,
improving debugging. There was a negligible time penalty associated with
this functionality.
The appropriate unit tests have been added as well.
https://code.google.com/p/pydicom/source/detail?r=03d4ee111dfa
Added:
/source/dicom/tagtools.py
Modified:
/source/dicom/dataset.py
/source/dicom/filewriter.py
/source/dicom/test/test_dataset.py