SeiictyUsui / pydicom

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

PixelArray property not found when error raised in _getPixelArray #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. read_file() for dicom file without header info
2. didn't add ds.TransferSyntaxUID checked in PixelArray (corrected in 
r109)
3. PixelArray reported as not a member of Dataset

So, root problem is that raised errors were somehow silenced ... and wound 
up going to __getattr__ to find a property which should have existed.

Original issue reported on code.google.com by darcymason@gmail.com on 4 May 2009 at 7:42

GoogleCodeExporter commented 9 years ago
Fixed in revision 4adc667f52. Added unit test also to ensure raises correct 
error 
message from underlying AttributeError.

Original comment by darcymason@gmail.com on 5 Nov 2009 at 3:43