import itertools


def params_combination(params, nruns):
    """Make a list of all combinations of the parameters."""
    # convert float entries to 1-element list for itertools.product
    params += (range(1, nruns+1),)
    params = [[p] if isinstance(p, float) or isinstance(p, int) else p
              for p in params]
    return list(itertools.product(*params))