import itertools


def all_combinations(samples_list):
    """
    returns all combinations in the list given
    """
    iterable = itertools.chain.from_iterable(itertools.combinations(samples_list, r) for r in range(len(samples_list) + 1))
    combinations = []
    for i in iterable:
        combinations.append(list(i))
    return combinations[1:]