I am using pytho-dicom library (version 0.9.8) to obtain some metadata information from dicom files and I have the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/dicom/filereader.py", line 625, in read_file
force=force)
File "/usr/local/lib/python2.7/dist-packages/dicom/filereader.py", line 538, in read_partial
transfer_syntax = file_meta_dataset.TransferSyntaxUID
File "/usr/local/lib/python2.7/dist-packages/dicom/dataset.py", line 248, in __getattr__
"'{0:s}'.".format(name))
AttributeError: Dataset does not have attribute 'TransferSyntaxUID'.
When I open the date with Osirix, I can see this field: "TransferSyntaxUID 0002,0010, 1.2.840.10008.1.2.1"