Commit e9b4021122e16cda9a14a691646c774c8ccb470c
1 parent
fd6f8eae
Exists in
master
and in
6 other branches
FIX: Error in open Higroma case by command line
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
invesalius/reader/dicom_reader.py
@@ -51,7 +51,9 @@ def SelectLargerDicomGroup(patient_group): | @@ -51,7 +51,9 @@ def SelectLargerDicomGroup(patient_group): | ||
51 | group_list = patient.GetGroups() | 51 | group_list = patient.GetGroups() |
52 | for group in group_list: | 52 | for group in group_list: |
53 | if group.nslices > maxslices: | 53 | if group.nslices > maxslices: |
54 | + maxslices = group.nslices | ||
54 | larger_group = group | 55 | larger_group = group |
56 | + | ||
55 | return larger_group | 57 | return larger_group |
56 | 58 | ||
57 | def SortFiles(filelist, dicom): | 59 | def SortFiles(filelist, dicom): |