Dear Francesca,
DICOM is still in experimental state in flair. However this problem is fixed on the SVN version of flair, which will be quite soon be released as 1.1-0
Best Regards
Vasilis Vlachoudis
Dep EN, CERN
CH-1211 GENEVA 23
SWITZERLAND
Phone: +41-22 767 9851
GSM: +41-76 487 4378
Fax: +41-22 766 9644
________________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Francesca Fiorini [francesca.fiorini_at_oncology.ox.ac.uk]
Sent: 14 February 2013 11:51
To: fluka-discuss_at_fluka.org
Subject: Flair dicom reader
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:
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
self.refresh()
File "/usr/local/flair/DicomFrame.py", line 568, in refresh
self.scanDirectory(self.dir["text"])
File "/usr/local/flair/DicomFrame.py", line 609, in scanDirectory
dataset.InstitutionName,
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
Francesca
Received on Thu Feb 14 2013 - 14:38:39 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 14 2013 - 14:38:39 CET