[pydicom] push by Suever@gmail.com - Fixes Issue #123 by adding tag numbers to error messages... on 2014-11-22 17:10 GMT

0 views
Skip to first unread message

pyd...@googlecode.com

unread,
Nov 22, 2014, 12:11:33 PM11/22/14
to pydic...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages