]> Creatis software - gdcm.git/blobdiff - gdcmPython/demo/PrintDicomDir.py.in
* Add the CommandPy and CommandManager to the python wrapping
[gdcm.git] / gdcmPython / demo / PrintDicomDir.py.in
index dcd47fef32a27530b8e3407318497e67d5c46637..266adb19dfdbe1047734df02a01b6ebaccb42a01 100644 (file)
@@ -12,14 +12,6 @@ def PrintUse():
    print ""
    print ""
 
-### Progress methods
-def startMethod():
-   print "Start"
-def progressMethod():
-   print "Progress",dicomdir.GetProgress()
-def endMethod():
-   print "End"
-
 ### Get filename from command line or default it
 try:
    fileName = sys.argv[1]
@@ -36,10 +28,6 @@ except IndexError:
 ### Build the DicomDir element list
 dicomdir = gdcm.DicomDir.New()
 
-dicomdir.SetStartMethod(startMethod)
-dicomdir.SetProgressMethod(progressMethod)
-dicomdir.SetEndMethod(endMethod)
-
 dicomdir.SetFileName(fileName)
 dicomdir.Load()
 if not dicomdir.IsReadable():