original_docstring: 
      Main function for running mako.
      Accepts a dictionary of arguments from the argument parser
      and calls the appropriate module function.
  
      :param mako_args: Arguments.
      :return:
      
docstring: Main function for running mako.
  Accepts a dictionary of arguments from the argument parser
  and calls the appropriate module function.
docstring_tokens: Main function for running mako . Accepts a dictionary of arguments from the argument parser and calls the appropriate module function .
code: def mako(mako_args):
      """
      Main function for running mako.
      Accepts a dictionary of arguments from the argument parser
      and calls the appropriate module function.
  
      :param mako_args: Arguments.
      :return:
      """
      if mako_args['version']:
          info = VersionInfo('mako')
          logger.info('Version ' + info.version_string())
          sys.exit(0)
      if (mako_args['store_config'] is False) and (mako_args['username'] is None):
          logger.exit('No Neo4j configuration supplied, cannot access database.')
      if 'base' in mako_args:
          logger.info('Running base Neo4j module. ')
          start_base(mako_args)
      if 'neo4biom' in mako_args:
          logger.info('Running Neo4biom module. ')
          start_biom(mako_args)
      if 'io' in mako_args:
          logger.info('Running IO module. ')
          start_io(mako_args)
      if 'netstats' in mako_args:
          logger.info('Performing network analysis on Neo4j database. ')
          start_netstats(mako_args)
      if 'metastats' in mako_args:
          logger.info('Performing metadata analysis on Neo4j database. ')
          start_metastats(mako_args)
      if 'manta' in mako_args:
          logger.info('Running manta on Neo4j database. ')
          from mako.scripts.wrapper import start_wrapper
          start_wrapper(mako_args)
      if 'anuran' in mako_args:
          logger.info('Running anuran on Neo4j database. ')
          from mako.scripts.wrapper import start_wrapper
          start_wrapper(mako_args)
      logger.info('Completed tasks! ')
code_tokens: def mako ( mako_args ) : if mako_args [ 'version' ] : info = VersionInfo ( 'mako' ) logger . info ( 'Version ' + info . version_string ( ) ) sys . exit ( 0 ) if ( mako_args [ 'store_config' ] is False ) and ( mako_args [ 'username' ] is None ) : logger . exit ( 'No Neo4j configuration supplied, cannot access database.' ) if 'base' in mako_args : logger . info ( 'Running base Neo4j module. ' ) start_base ( mako_args ) if 'neo4biom' in mako_args : logger . info ( 'Running Neo4biom module. ' ) start_biom ( mako_args ) if 'io' in mako_args : logger . info ( 'Running IO module. ' ) start_io ( mako_args ) if 'netstats' in mako_args : logger . info ( 'Performing network analysis on Neo4j database. ' ) start_netstats ( mako_args ) if 'metastats' in mako_args : logger . info ( 'Performing metadata analysis on Neo4j database. ' ) start_metastats ( mako_args ) if 'manta' in mako_args : logger . info ( 'Running manta on Neo4j database. ' ) from mako . scripts . wrapper import start_wrapper start_wrapper ( mako_args ) if 'anuran' in mako_args : logger . info ( 'Running anuran on Neo4j database. ' ) from mako . scripts . wrapper import start_wrapper start_wrapper ( mako_args ) logger . info ( 'Completed tasks! ' )
short_docstring: Main function for running mako.
short_docstring_tokens: Main function for running mako .
comment: """
      Main function for running mako.
      Accepts a dictionary of arguments from the argument parser
      and calls the appropriate module function.
  
      :param mako_args: Arguments.
      :return:
      """