def get_adi_ids(metadata):
    """Returns a list of the adipose shell IDs for each sample

    Parameters
    ----------
    metadata : array_like
        Array of metadata dicts for each sample

    Returns
    -------
    adi_ids : array_like
        Array of the adipose IDs for each sample in the metadata
    """

    adi_ids = [md['phant_id'].split('F')[0] for md in metadata]

    return adi_ids