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 62 self.__Split1()
63 63  
64 64 if (len(self.GetOutput().keys()) == len(self.filenamelist)):
65   - print "Vai entrar na 2"
66 65 self.__Split2()
67 66 self.split_type = 1
68 67  
... ... @@ -287,7 +286,7 @@ class DicomGroups:
287 286 key = tmp1.keys()[m]
288 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 290 information.acquisition.serie_number)
292 291  
293 292 if (new_key in groups_dcm_.keys()):
... ... @@ -303,7 +302,6 @@ class DicomGroups:
303 302  
304 303 for j in xrange(len(self.groups_dcm.keys())):
305 304 key = self.groups_dcm.keys()[j]
306   - #print self.groups_dcm[key]
307 305 self.groups_dcm[key].sort(key=lambda x: x.image.number)
308 306  
309 307  
... ... @@ -313,7 +311,6 @@ class DicomGroups:
313 311 """
314 312  
315 313 for x in xrange(len(self.groups_dcm.keys())):
316   - print len(self.groups_dcm.keys())
317 314  
318 315 key = self.groups_dcm.keys()[x]
319 316 information = self.groups_dcm[key][0]
... ... @@ -332,7 +329,6 @@ class DicomGroups:
332 329 try:
333 330 information = self.groups_dcm[self.groups_dcm.keys()[x]][3]
334 331 image_orientation_label = information.image.orientation_label
335   - print image_orientation_label
336 332  
337 333 except(IndexError):
338 334 image_orientation_label = None
... ...