def standaardfragmenten_dict_sample(sample, df):
    """Turn dataframe with standard fragments into dict and return list of dicts."""
    sample_frags = list()
    all_frags = df.to_dict('records')
    for d in all_frags:
        if d['FRACTIENR'] == sample:
            sample_frags.append(d)
    return sample_frags
