parameters: (self)
docstring: Define path for Mantid Inelastic python scripts
docstring_summary: Define path for Mantid Inelastic python scripts
docstring_tokens: Define path for Mantid Inelastic python scripts
function: def _def_python_search_path(self):
          """Define path for Mantid Inelastic python scripts"""
          # Note, instrument name script folder is currently upper case on GIT
          if not self._user:
              raise RuntimeError("Can not define python search path without defined user")
  
          # define main Mantid scripts search path
          path = os.path.join(self._mantid_path, 'scripts/')
          for part in self._python_mantid_path:
              path += ';' + os.path.join(self._mantid_path, part)
  
          # define and append user scripts search path
          user_path_part = copy.deepcopy(self._python_user_scripts)
          # pylint: disable=W0212
          for instr in self._user._instrument.values():
              user_path_part.add(os.path.join('direct_inelastic', instr.upper()))
          for part in user_path_part:
              path += ';' + os.path.join(self._script_repo, part) + '/'
  
          self._dynamic_configuration.append('pythonscripts.directories=' + path)
function_tokens: def _def_python_search_path ( self ) : # Note, instrument name script folder is currently upper case on GIT if not self . _user : raise RuntimeError ( "Can not define python search path without defined user" ) # define main Mantid scripts search path path = os . path . join ( self . _mantid_path , 'scripts/' ) for part in self . _python_mantid_path : path += ';' + os . path . join ( self . _mantid_path , part ) # define and append user scripts search path user_path_part = copy . deepcopy ( self . _python_user_scripts ) # pylint: disable=W0212 for instr in self . _user . _instrument . values ( ) : user_path_part . add ( os . path . join ( 'direct_inelastic' , instr . upper ( ) ) ) for part in user_path_part : path += ';' + os . path . join ( self . _script_repo , part ) + '/' self . _dynamic_configuration . append ( 'pythonscripts.directories=' + path )