From 83f6862e76b363865c5f6511b2e1d527ffb5fe07 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Tue, 29 Dec 2009 12:43:21 +0000 Subject: [PATCH] FIX: A workaround to eliminate ZeroDivisionError in import, but there are some incorrect reconstructions --- invesalius/control.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/invesalius/control.py b/invesalius/control.py index ac1ee5d..5bc6c04 100755 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -356,6 +356,9 @@ class Controller(): # Create imagedata filelist = dicom_group.GetFilenameList() + if not filelist: + print ">Not used the IPPSorter" + filelist = [i.image.file for i in dicom_group.GetHandSortedList()] zspacing = dicom_group.zspacing imagedata = utils.CreateImageData(filelist, zspacing) -- libgit2 0.21.2