X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FprintGroupedPublicDict.py;h=fa03c30fb6ff2cfe70e9cd3b4d388c8be182676e;hb=d4faf2fa2fcd6beba4ba8da5557b3841adfe36dd;hp=153e173b5f97d822a3eed425849f208998f5e469;hpb=29f93a14132dd0c6d9d9480ea038a2a4e8ed7e93;p=gdcm.git diff --git a/gdcmPython/demo/printGroupedPublicDict.py b/gdcmPython/demo/printGroupedPublicDict.py index 153e173b..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 = gdcmDictSet.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 = gdcmDictSet.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]: