From ebda1724e8342014640cd9c25ac31c6dc916ebb4 Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Mon, 11 Apr 2011 20:17:13 +0000 Subject: [PATCH] FIX: Fixed problem open promed 141 case --- invesalius/reader/dicom.py | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/invesalius/reader/dicom.py b/invesalius/reader/dicom.py index 3c0dfe7..76f761c 100644 --- a/invesalius/reader/dicom.py +++ b/invesalius/reader/dicom.py @@ -852,21 +852,6 @@ class Parser(): return data return "" - def GetSeriesDescription(self): - """ - Return string containing Series description. - - DICOM tag (0x0008, 0x1030). Cannot be edited. - """ - try: - data = self.data_image[0x0008][0x1030] - except(KeyError): - return "" - - if (data): - return data - return "" - def GetStudyInstanceUID(self): """ Return string containing Unique Identifier of the @@ -1529,6 +1514,8 @@ class Parser(): return _("unnamed") if (data): return data + else: + return _("unnamed") except(KeyError): return _("unnamed") -- libgit2 0.21.2