X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FReorganiseFiles.py;h=3db13f4dffb8331209e7a68b2bcfcd2936ab2c5d;hb=38d772b8588bc4e7106dbafcb24f6bff91b8c4c1;hp=54fcb420c762944563f6da7f40e8815267fcbb93;hpb=49c49f93fee21fdddce1f5ae0f2b0875ab0e01c6;p=gdcm.git diff --git a/gdcmPython/demo/ReorganiseFiles.py b/gdcmPython/demo/ReorganiseFiles.py index 54fcb420..3db13f4d 100644 --- a/gdcmPython/demo/ReorganiseFiles.py +++ b/gdcmPython/demo/ReorganiseFiles.py @@ -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":