parameters: (db_tuples_list, times, unfound_dbs, logger)
docstring: Queries UCSC DBs, called via a thread pool in fetch_ucsc_data
docstring_summary: Queries UCSC DBs, called via a thread pool in fetch_ucsc_data
docstring_tokens: Queries UCSC DBs called via a thread pool in fetch_ucsc_data
function: def fetch_assembly_data(db_tuples_list, times, unfound_dbs, logger):
      """Queries UCSC DBs, called via a thread pool in fetch_ucsc_data
      """
      cursor = get_ucsc_cursor(logger)
  
      for db_tuple in db_tuples_list:
          db, name_slug = db_tuple
  
          cytobandideo_table = get_cytobandideo_table(cursor, db)
          if cytobandideo_table is None:
              continue
  
          bands_by_chr = get_bands_by_chr(cursor)
          if bands_by_chr is None:
              continue
  
          genbank_accession, times, unfound_dbs =\
              get_genbank_accession_from_ucsc_name(db, times, unfound_dbs, logger)
  
          asm_data = [db, genbank_accession, bands_by_chr]
  
          # logger.info('Got UCSC data: ' + str(asm_data))
          return [name_slug, asm_data, times, unfound_dbs]
function_tokens: def fetch_assembly_data ( db_tuples_list , times , unfound_dbs , logger ) : cursor = get_ucsc_cursor ( logger ) for db_tuple in db_tuples_list : db , name_slug = db_tuple cytobandideo_table = get_cytobandideo_table ( cursor , db ) if cytobandideo_table is None : continue bands_by_chr = get_bands_by_chr ( cursor ) if bands_by_chr is None : continue genbank_accession , times , unfound_dbs = get_genbank_accession_from_ucsc_name ( db , times , unfound_dbs , logger ) asm_data = [ db , genbank_accession , bands_by_chr ] # logger.info('Got UCSC data: ' + str(asm_data)) return [ name_slug , asm_data , times , unfound_dbs ]