Flair dicom reader

From: Francesca Fiorini <francesca.fiorini_at_oncology.ox.ac.uk>
Date: Thu, 14 Feb 2013 10:51:32 +0000

Dear Fluka and Flair users,

I am trying to open some dicom files with the new dicom reader in Flair, but I receive the following error:

Version : flair 1.0-2
Revision : 2013
Last Change : 2012-10-22 10:46:28
Platform : linux2
Python : 2.7.1 (r271:86832, Apr 12 2011, 16:15:16)
[GCC 4.6.0 20110331 (Red Hat 4.6.0-2)]
TkVersion : 8.5
TclVersion : 8.5
Traceback (most recent call last):
   File "/usr/local/flair/tkFlair.py", line 958, in __call__
     return self.func(*args)
   File "/usr/local/flair/DicomFrame.py", line 560, in chdir
   File "/usr/local/flair/DicomFrame.py", line 568, in refresh
   File "/usr/local/flair/DicomFrame.py", line 609, in scanDirectory
   File "/usr/lib/python2.7/site-packages/pydicom-0.9.7-py2.7.egg/dicom/dataset.py", line 263, in __getattr__
     raise AttributeError, "Dataset does not have attribute '%s'." % name
AttributeError: Dataset does not have attribute 'InstitutionName'.

It looks like that if the dicom files have no Institution name in the header, then Flair has problems in open them. Is this correct? If it is, is there a way to bypass this step, my dicoms are not produced by usual CT scanners and could be that some info in the header is not complete.

Thanks in advance
Received on Thu Feb 14 2013 - 13:29:31 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 14 2013 - 13:29:34 CET