def _get_general_info(name):
    unsats = [n[0] for n in name.split(':')[1:]]
    class_name = name.split('(')[0]
    if ('-' in class_name):
        name_split = name.split('(')
        name_split[0] = name.split('(')[0].replace('-', '')
        name = '('.join(name_split)
    acyl_lengths = name.split(':')
    acyl_lengths.pop()
    f_acyl_lengths = []
    for acl in acyl_lengths:
        try:
            if ('/' in acl):
                f_acyl_lengths.append(acl.split('/')[1].replace('d', '').replace('methyl-', ''))
            elif ('-' in acl):
                f_acyl_lengths.append(acl.split('-')[1].replace('d', '').replace('methyl-', ''))
            else:
                f_acyl_lengths.append(acl.split('(')[1].replace('d', '').replace('methyl-', ''))
        except:
            logging.warning(('Could not format to get acyl lengths: %s' % name))
            return ([0], [0], '')
    try:
        f_acyl_lengths = list(map(int, f_acyl_lengths))
        unsats = list(map(int, unsats))
    except:
        logging.warning(('Could not format to get acyl lengths: %s' % name))
        return ([0], [0], '')
    return (f_acyl_lengths, unsats, class_name)
def _get_general_info(name):
    unsats = [n[0] for n in name.split(':')[1:]]
    class_name = name.split('(')[0]
    if ('-' in class_name):
        name_split = name.split('(')
        name_split[0] = name.split('(')[0].replace('-', )
        name = '('.join(name_split)
    acyl_lengths = name.split(':')
    acyl_lengths.pop()
    f_acyl_lengths = []
    for acl in acyl_lengths:
        try:
            if ('/' in acl):
                f_acyl_lengths.append(acl.split('/')[1].replace('d', ).replace('methyl-', ))
            elif ('-' in acl):
                f_acyl_lengths.append(acl.split('-')[1].replace('d', ).replace('methyl-', ))
            else:
                f_acyl_lengths.append(acl.split('(')[1].replace('d', ).replace('methyl-', ))
        except:
            logging.warning(('Could not format to get acyl lengths: %s' % name))
            return ([0], [0], )
    try:
        f_acyl_lengths = list(map(int, f_acyl_lengths))
        unsats = list(map(int, unsats))
    except:
        logging.warning(('Could not format to get acyl lengths: %s' % name))
        return ([0], [0], )
    return (f_acyl_lengths, unsats, class_name)