X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FprintGroupedPublicDict.py;h=fa03c30fb6ff2cfe70e9cd3b4d388c8be182676e;hb=8a9ebc9b9cb59f2bef1a3c54962c7b9d265e3db2;hp=636119d4cbdab76a0128a3408cac6470cab8c29f;hpb=49c49f93fee21fdddce1f5ae0f2b0875ab0e01c6;p=gdcm.git diff --git a/gdcmPython/demo/printGroupedPublicDict.py b/gdcmPython/demo/printGroupedPublicDict.py index 636119d4..fa03c30f 100644 --- a/gdcmPython/demo/printGroupedPublicDict.py +++ b/gdcmPython/demo/printGroupedPublicDict.py @@ -4,7 +4,7 @@ print "##############################################################" print "### Display all the possible tags of the current public" print "### dictionary" print "##############################################################" -PubList = GetPubDictTagNames() +PubList = GetPubDictEntryNames() for i in range(0, len(PubList)): print " ", PubList[i] @@ -14,7 +14,7 @@ print "### dictionary, but grouped by using the Fourth field" print "##############################################################" print " WARNING : the 'fourth' fiels IS NOT part of DICOM" print " DO NOT use it" -PubDict = GetPubDictTagNamesByCategory() +PubDict = GetPubDictEntryNamesByCategory() for fourth in PubDict: print " ############ Fourth group = ", fourth, " ##############" for key in PubDict[fourth]: