parameters: ( self, moduleName )
docstring: Add modules as attributes of module slicer.modules
docstring_summary: Add modules as attributes of module slicer.modules
docstring_tokens: Add modules as attributes of module slicer . modules
function: def setSlicerModules( self, moduleName ):
      """Add modules as attributes of module slicer.modules"""
      moduleManager = slicer.app.moduleManager()
      setattr( slicer.modules, moduleName.lower(), moduleManager.module(moduleName) )
      # HACK For backward compatibility with ITKv3, map "dicomtonrrdconverter" module to "dwiconvert"
      if moduleName == 'DWIConvert':
        setattr( slicer.modules, 'dicomtonrrdconverter', moduleManager.module(moduleName) )
function_tokens: def setSlicerModules ( self , moduleName ) : moduleManager = slicer . app . moduleManager ( ) setattr ( slicer . modules , moduleName . lower ( ) , moduleManager . module ( moduleName ) ) # HACK For backward compatibility with ITKv3, map "dicomtonrrdconverter" module to "dwiconvert" if moduleName == 'DWIConvert' : setattr ( slicer . modules , 'dicomtonrrdconverter' , moduleManager . module ( moduleName ) )