def create_row_info(row):
    """Build info string for a row from the obset table"""
    info_list = [str(row['proposal_id']), '{}'.format(row['obset_id']), row
        ['instrument'], row['detector'], row['filename'][:row['filename'].
        find('_')], row['filters']]
    return ' '.join(map(str.upper, info_list)), row['filename']
