def dec_to_set(row):
    """Convert the dec columns into a set, and fix the sign.
    """
    if '-' in row['sign']:
        return (-1*row['dec_deg'],row['dec_minutes'],row['dec_seconds'])
    else:
        return (row['dec_deg'],row['dec_minutes'],row['dec_seconds'])