From 08f6678fee795d981a5fb1a973d6a58e27d2f23a Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Fri, 7 May 2010 18:38:34 +0000 Subject: [PATCH] FIX: Slice thickness tag incorrect --- invesalius/reader/dicom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invesalius/reader/dicom.py b/invesalius/reader/dicom.py index 20a7c88..1035e79 100644 --- a/invesalius/reader/dicom.py +++ b/invesalius/reader/dicom.py @@ -1347,11 +1347,11 @@ class Parser(): DICOM standard tag (0x0018,0x0050) was used. """ - tag = gdcm.Tag(0x0018, 0x1050) + tag = gdcm.Tag(0x0018, 0x0050) ds = self.gdcm_reader.GetFile().GetDataSet() if ds.FindDataElement(tag): data = str(ds.GetDataElement(tag).GetValue()) - + print data if (data): return float(data) return 0 -- libgit2 0.21.2