From e9b4021122e16cda9a14a691646c774c8ccb470c Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Mon, 9 Nov 2009 06:50:55 +0000 Subject: [PATCH] FIX: Error in open Higroma case by command line --- invesalius/reader/dicom_reader.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/invesalius/reader/dicom_reader.py b/invesalius/reader/dicom_reader.py index d82622b..54e3d41 100644 --- a/invesalius/reader/dicom_reader.py +++ b/invesalius/reader/dicom_reader.py @@ -51,7 +51,9 @@ def SelectLargerDicomGroup(patient_group): group_list = patient.GetGroups() for group in group_list: if group.nslices > maxslices: + maxslices = group.nslices larger_group = group + return larger_group def SortFiles(filelist, dicom): -- libgit2 0.21.2