Error in function spatialdata.read_zarr for version mismatch
Hello,I have a error in the follow code:
import scanpy as sc import pandas as pd import numpy as np import h5py import anndata as ad import matplotlib.pyplot as plt import squidpy as sq import spatialdata as sd import spatialdata_io as sio import spatialdata_plot
import warnings import os %load_ext autoreload %autoreload 2
warnings.filterwarnings("ignore")
core code
st_data.write(f"{output}/Allsamples_Rawdata.zarr",overwrite=True, format=None) successfully running
st_data_test = sd.read_zarr(f"{output}/Allsamples_Rawdata.zarr/")
version mismatch: detected: RasterFormatV02, requested: FormatV04 #error like this
print(sd.version) 0.4.0
Can youhelp me, thank you very much!
oh! I found that although an error was reported, it seems to have been read successfully. Is this the effect of forward compatibility? But for now, it hasn't been found whether there will be any impact on the future. It's very likely that everything will be normal, hahaha...