def bugname(rowhead):
    """make bug names look nicer"""
    if 's__' in rowhead:
        return rowhead.split('.')[1].replace('s__', '').replace('_', ' ')
    elif 'g__' in rowhead:
        return rowhead.replace('g__', '').replace('_', ' ')
    else:
        return rowhead
