def make_iterable(idx):
    """ Simple function to ensure that an argument is iterable"""
    try:
        iter(idx)
    except TypeError:
        if idx is None:
            return []
        else:
            idx = [idx]
    return idx
