def samples(df=None):
    """List with unique sample names from the DataFrame.

    :param df: DataFrame
    :returns: unique sample names (list)
    """

    if df is None:
        raise Exception('No DataFrame selected.')

    return df['name'].unique()