diff --git a/invesalius/reader/dicom_grouper.py b/invesalius/reader/dicom_grouper.py index ed5077c..6801d65 100644 --- a/invesalius/reader/dicom_grouper.py +++ b/invesalius/reader/dicom_grouper.py @@ -300,7 +300,7 @@ class DicomGroups: #the number of previously existing number is #greater or equal then the group keeps up, #but maintains the same group of positions. - if len(self.groups_dcm.keys()) < len(groups_dcm_.keys()): + if len(self.groups_dcm.keys()) > len(groups_dcm_.keys()): self.groups_dcm = groups_dcm_ for j in xrange(len(self.groups_dcm.keys())): -- libgit2 0.21.2