Commit ad7335fdc95d1ce4c4390c421121b6af6975838f

Authored by Paulo Henrique Junqueira Amorim
1 parent 0f9068e2

STYLE: Removed output of the (print)

Showing 1 changed file with 1 additions and 5 deletions   Show diff stats
invesalius/reader/dicom_grouper.py
@@ -62,7 +62,6 @@ class DicomGroups: @@ -62,7 +62,6 @@ class DicomGroups:
62 self.__Split1() 62 self.__Split1()
63 63
64 if (len(self.GetOutput().keys()) == len(self.filenamelist)): 64 if (len(self.GetOutput().keys()) == len(self.filenamelist)):
65 - print "Vai entrar na 2"  
66 self.__Split2() 65 self.__Split2()
67 self.split_type = 1 66 self.split_type = 1
68 67
@@ -287,7 +286,7 @@ class DicomGroups: @@ -287,7 +286,7 @@ class DicomGroups:
287 key = tmp1.keys()[m] 286 key = tmp1.keys()[m]
288 information = tmp1[key] 287 information = tmp1[key]
289 288
290 - new_key = (information.patient.name, information.image.orientation_label, 289 + new_key = (x,information.patient.name, information.image.orientation_label,
291 information.acquisition.serie_number) 290 information.acquisition.serie_number)
292 291
293 if (new_key in groups_dcm_.keys()): 292 if (new_key in groups_dcm_.keys()):
@@ -303,7 +302,6 @@ class DicomGroups: @@ -303,7 +302,6 @@ class DicomGroups:
303 302
304 for j in xrange(len(self.groups_dcm.keys())): 303 for j in xrange(len(self.groups_dcm.keys())):
305 key = self.groups_dcm.keys()[j] 304 key = self.groups_dcm.keys()[j]
306 - #print self.groups_dcm[key]  
307 self.groups_dcm[key].sort(key=lambda x: x.image.number) 305 self.groups_dcm[key].sort(key=lambda x: x.image.number)
308 306
309 307
@@ -313,7 +311,6 @@ class DicomGroups: @@ -313,7 +311,6 @@ class DicomGroups:
313 """ 311 """
314 312
315 for x in xrange(len(self.groups_dcm.keys())): 313 for x in xrange(len(self.groups_dcm.keys())):
316 - print len(self.groups_dcm.keys())  
317 314
318 key = self.groups_dcm.keys()[x] 315 key = self.groups_dcm.keys()[x]
319 information = self.groups_dcm[key][0] 316 information = self.groups_dcm[key][0]
@@ -332,7 +329,6 @@ class DicomGroups: @@ -332,7 +329,6 @@ class DicomGroups:
332 try: 329 try:
333 information = self.groups_dcm[self.groups_dcm.keys()[x]][3] 330 information = self.groups_dcm[self.groups_dcm.keys()[x]][3]
334 image_orientation_label = information.image.orientation_label 331 image_orientation_label = information.image.orientation_label
335 - print image_orientation_label  
336 332
337 except(IndexError): 333 except(IndexError):
338 image_orientation_label = None 334 image_orientation_label = None