parameters: (self, name, config)
docstring: Initialize job list for a tool
          :param name: the name of the tool to execute
          :type name: str
          :param config: initialized instance of ConfigParser
          :type config: configparser.ConfigParser
docstring_summary: Initialize job list for a tool
          :param name: the name of the tool to execute
          :type name: str
          :param config: initialized instance of ConfigParser
          :type config: configparser.ConfigParser
docstring_tokens: Initialize job list for a tool : param name : the name of the tool to execute : type name : str : param config : initialized instance of ConfigParser : type config : configparser . ConfigParser
function: def __init__(self, name, config):
          """
          Initialize job list for a tool
          :param name: the name of the tool to execute
          :type name: str
          :param config: initialized instance of ConfigParser
          :type config: configparser.ConfigParser
          """
          if not config.has_section(name):
              raise ToolException('Section for the tool [\'%s\'] is not '
                                  'configured in the config.ini.default file' % name)
  
          if not config.has_option(name, 'path'):
              raise ToolException('Key \'path\' in the section [\'%s\'] is not '
                                  'configured in the config.ini.default file' % name)
  
          self.name = name
  
          self.cmd = [os.path.join(config.get(name, 'path'), name)]
  
          keys = sorted(item[0] for item in config.items(name))
  
          for key in keys:
              if not key == 'path' and not config.has_option('DEFAULT', key):
                  self.cmd.append(config.get(name, key))
  
          self.jobs_to_run = []
          self.jobs_running = []
          self._logger = None
function_tokens: def __init__ ( self , name , config ) : if not config . has_section ( name ) : raise ToolException ( 'Section for the tool [\'%s\'] is not ' 'configured in the config.ini.default file' % name ) if not config . has_option ( name , 'path' ) : raise ToolException ( 'Key \'path\' in the section [\'%s\'] is not ' 'configured in the config.ini.default file' % name ) self . name = name self . cmd = [ os . path . join ( config . get ( name , 'path' ) , name ) ] keys = sorted ( item [ 0 ] for item in config . items ( name ) ) for key in keys : if not key == 'path' and not config . has_option ( 'DEFAULT' , key ) : self . cmd . append ( config . get ( name , key ) ) self . jobs_to_run = [ ] self . jobs_running = [ ] self . _logger = None