Commit 7d25dcfb68f69196ad720fe53314f3f82c165a55
1 parent
0525da39
Exists in
master
and in
68 other branches
ENH: Removed "print" to debug
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
invesalius/reader/dicom.py
@@ -1432,9 +1432,6 @@ class Parser(): | @@ -1432,9 +1432,6 @@ class Parser(): | ||
1432 | data = time.strptime(value, "%D/%M/%Y") | 1432 | data = time.strptime(value, "%D/%M/%Y") |
1433 | else: | 1433 | else: |
1434 | data = time.strptime(value, "%Y%M%d") | 1434 | data = time.strptime(value, "%Y%M%d") |
1435 | - | ||
1436 | - print time.strftime("%d/%M/%Y",data) | ||
1437 | - | ||
1438 | return time.strftime("%d/%M/%Y",data) | 1435 | return time.strftime("%d/%M/%Y",data) |
1439 | 1436 | ||
1440 | def GetAcquisitionTime(self): | 1437 | def GetAcquisitionTime(self): |
@@ -1677,7 +1674,6 @@ if __name__ == "__main__": | @@ -1677,7 +1674,6 @@ if __name__ == "__main__": | ||
1677 | 1674 | ||
1678 | for i in xrange(1,total+1): | 1675 | for i in xrange(1,total+1): |
1679 | filename = "..//data//"+str(i)+".dcm" | 1676 | filename = "..//data//"+str(i)+".dcm" |
1680 | - print "\nfilename:", filename | ||
1681 | parser = Parser() | 1677 | parser = Parser() |
1682 | if parser.SetFileName(filename): | 1678 | if parser.SetFileName(filename): |
1683 | print "p:", parser.GetPatientName() | 1679 | print "p:", parser.GetPatientName() |