X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2F__init__.py;h=fcfd024ebb1ab4d60ffcd38b4989ed42cedf12a1;hb=eaa1ab7591f8fd46c2efdfb823c15ae01a1472fc;hp=3cbeb9cf18b236957a6c9245fc11e37b287fa503;hpb=dd1db4521f60513223308827241c4d0838ad552a;p=gdcm.git diff --git a/gdcmPython/__init__.py b/gdcmPython/__init__.py index 3cbeb9cf..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,6 +73,7 @@ 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