X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2F__init__.py;h=fcfd024ebb1ab4d60ffcd38b4989ed42cedf12a1;hb=eaa1ab7591f8fd46c2efdfb823c15ae01a1472fc;hp=cb32100c5d098b1133ff5ea284458bf682222572;hpb=1e74cf45bc96f14c342cc404f0f91dfffe0810b9;p=gdcm.git diff --git a/gdcmPython/__init__.py b/gdcmPython/__init__.py index cb32100c..fcfd024e 100644 --- a/gdcmPython/__init__.py +++ b/gdcmPython/__init__.py @@ -53,6 +53,7 @@ except KeyError: print "Path to dictionaries is mandatory. Exiting" sys.exit(1) os.environ["GDCM_DICT_PATH"] = Path +GDCM_DICT_PATH = os.environ["GDCM_DICT_PATH"] ### Set up the path to the data images for the demos. GDCM_DATA_PATH = BuildInstallOrPreinstallPath("Test", "test.acr") @@ -72,12 +73,13 @@ except ImportError,e: ### Expose only the necessary stuff gdcmGlobal = gdcm.gdcmGlobal gdcmDictSet = gdcm.gdcmDictSet +gdcmDicomDir = gdcm.gdcmDicomDir gdcmHeader = gdcm.gdcmHeader gdcmHeaderHelper = gdcm.gdcmHeaderHelper gdcmFile = gdcm.gdcmFile -def GetPubDictTagNames(): - return gdcm.cvar.gdcmGlob.GetDicts().GetPubDictTagNames() +def GetPubDictEntryNames(): + return gdcm.cvar.gdcmGlob.GetDicts().GetPubDictEntryNames() -def GetPubDictTagNamesByCategory(): - return gdcm.cvar.gdcmGlob.GetDicts().GetPubDictTagNamesByCategory() +def GetPubDictEntryNamesByCategory(): + return gdcm.cvar.gdcmGlob.GetDicts().GetPubDictEntryNamesByCategory()