]> Creatis software - gdcm.git/blobdiff - gdcmPython/demo/ReorganiseFiles.py
* src/gdcmDocEntrySet.[h|cxx], gdcmDocument.[h|cxx] : amelioration of
[gdcm.git] / gdcmPython / demo / ReorganiseFiles.py
index 54fcb420c762944563f6da7f40e8815267fcbb93..3db13f4dffb8331209e7a68b2bcfcd2936ab2c5d 100644 (file)
@@ -30,7 +30,7 @@ SourceFiles=glob.glob(os.path.join(SourceDirectory, "*.dcm"))
 
 for file in SourceFiles:
    header = gdcmHeader(file)
-   info = header.GetPubEntry()
+   info = header.GetEntry()
    try:
       ImNum = info["Image Number"]
       if len(ImNum) == 0 or ImNum == "gdcm::Unfound":