X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FPrintHeader.py;h=c5843d6f24c53a85deb28cd001392f957541162a;hb=256d6a32612f8bffdb7868749d7995fc74c0c03d;hp=6edd80fe7f4d7a43ea55874be12ae09f3c6afcfb;hpb=f59a9dc3480f900cf6ff80c7fe5a0c6e59c93512;p=gdcm.git diff --git a/gdcmPython/demo/PrintHeader.py b/gdcmPython/demo/PrintHeader.py index 6edd80fe..c5843d6f 100644 --- a/gdcmPython/demo/PrintHeader.py +++ b/gdcmPython/demo/PrintHeader.py @@ -24,6 +24,6 @@ print "##############################################################" print "### Display all the elements and their respective values" print "## found in the ", FileName, " file." print "##############################################################" -ValDict = toRead.GetPubElVal() +ValDict = toRead.GetPubEntry() for key in ValDict.keys(): print "[%s] = [%s]" %(key, ValDict[key])