original_docstring: 
          Perform operations specified by the arguments.
  
          See :ref:`Running commongroups <running>` for possible operations.
  
          Parameters:
              args (dict): Parsed command-line arguments.
  
          Notes:
              The "resume update" option is handled by
              :func:`commongroups.cmgroup.batch_cmg_search`.
          
docstring: Perform operations specified by the arguments.
  See :ref:`Running commongroups ` for possible operations.
docstring_tokens: Perform operations specified by the arguments . See : ref : ` Running commongroups ` for possible operations .
code: def run(self, args):  # TODO: Update!
          """
          Perform operations specified by the arguments.
  
          See :ref:`Running commongroups <running>` for possible operations.
  
          Parameters:
              args (dict): Parsed command-line arguments.
  
          Notes:
              The "resume update" option is handled by
              :func:`commongroups.cmgroup.batch_cmg_search`.
          """
          if args.json_file:
              logger.info('Generating compound groups from JSON file')
              cmg_gen = cmg.cmgs_from_json(args.json_file, self)
          else:
              logger.info('Generating compound groups from Google Sheet')
              sheet = gs.SheetManager(args.sheet_name, args.worksheet)
              cmg_gen = sheet.get_cmgs(self)
  
          groups = list(islice(cmg_gen, None))
  
          # if args.clean_start:
          #     logger.debug('Clearing data and logs')
          #     for group in groups:
          #         group.clear_data()
          #     self.clear_logs()
  
          logger.info('Starting batch CMG update process')
          try:
              cmg.batch_cmg_search(groups)
          except:
              logger.exception('Process failed')
              import pdb; pdb.set_trace()
code_tokens: def run ( self , args ) : if args . json_file : logger . info ( 'Generating compound groups from JSON file' ) cmg_gen = cmg . cmgs_from_json ( args . json_file , self ) else : logger . info ( 'Generating compound groups from Google Sheet' ) sheet = gs . SheetManager ( args . sheet_name , args . worksheet ) cmg_gen = sheet . get_cmgs ( self ) groups = list ( islice ( cmg_gen , None ) ) logger . info ( 'Starting batch CMG update process' ) try : cmg . batch_cmg_search ( groups ) except : logger . exception ( 'Process failed' ) import pdb ; pdb . set_trace ( )
short_docstring: Perform operations specified by the arguments.
short_docstring_tokens: Perform operations specified by the arguments .
comment: # TODO: Update!$SEP$"""
          Perform operations specified by the arguments.
  
          See :ref:`Running commongroups <running>` for possible operations.
  
          Parameters:
              args (dict): Parsed command-line arguments.
  
          Notes:
              The "resume update" option is handled by
              :func:`commongroups.cmgroup.batch_cmg_search`.
          """$SEP$# if args.clean_start:$SEP$#     logger.debug('Clearing data and logs')$SEP$#     for group in groups:$SEP$#         group.clear_data()$SEP$#     self.clear_logs()