def sanitize_indices(indices):
    """Really bad sanitizing function. If there are no indices, return a slice object to index all the data"""
    if indices is None:
        indices = slice(None, None, None)
    return indices
