]> Creatis software - gdcm.git/blobdiff - gdcmPython/__init__.py
* FIX : wrapping python for TagHeaderEntryHT
[gdcm.git] / gdcmPython / __init__.py
index 3cbeb9cf18b236957a6c9245fc11e37b287fa503..fcfd024ebb1ab4d60ffcd38b4989ed42cedf12a1 100644 (file)
@@ -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