From 5f522db49ffdae607b37efc9f5e85e6bfc4b1428 Mon Sep 17 00:00:00 2001 From: tatiana Date: Thu, 15 Oct 2009 14:01:05 +0000 Subject: [PATCH] ENH: Default zpacing is 1 --- invesalius/reader/dicom_grouper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/invesalius/reader/dicom_grouper.py b/invesalius/reader/dicom_grouper.py index afe87ee..a0f7e81 100644 --- a/invesalius/reader/dicom_grouper.py +++ b/invesalius/reader/dicom_grouper.py @@ -65,7 +65,7 @@ class DicomGroup: # IDEA (13/10): Represent internally as dictionary, # externally as list self.nslices = 0 - self.zspacing = 0 + self.zspacing = 1 def AddSlice(self, dicom): pos = tuple(dicom.image.position) @@ -98,7 +98,6 @@ class DicomGroup: if (len(list_) > 1): dicom = list_[0] axis = ORIENT_MAP[dicom.image.orientation_label] - #print dicom.image.orientation_label p1 = dicom.image.position[axis] dicom = list_[1] -- libgit2 0.21.2