X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FprintGroupedPublicDict.py;h=fa03c30fb6ff2cfe70e9cd3b4d388c8be182676e;hb=0574f31372f78bf8399e42ee04bd0010e684c440;hp=7a5aca6d5c69ac7afad301a0a4e8a584d3f31c80;hpb=056201f7ae914314059ccb136d35c674a0ad9e0b;p=gdcm.git diff --git a/gdcmPython/demo/printGroupedPublicDict.py b/gdcmPython/demo/printGroupedPublicDict.py index 7a5aca6d..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] @@ -12,7 +12,9 @@ print "##############################################################" print "### Display all the possible tags of the current public" print "### dictionary, but grouped by using the Fourth field" print "##############################################################" -PubDict = GetPubDictTagNamesByCategory() +print " WARNING : the 'fourth' fiels IS NOT part of DICOM" +print " DO NOT use it" +PubDict = GetPubDictEntryNamesByCategory() for fourth in PubDict: print " ############ Fourth group = ", fourth, " ##############" for key in PubDict[fourth]: