Hello! Thank you for creating this wonderful package!
I found an error when using oracle = co.data.load_tutorial_oracle_object(). How can I solve this problem?
Found serious error when loading data. It might be because of discrepancy of dependent library. You are trying to load an object which was generated with a library of different version.
Traceback (most recent call last):
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/celloracle/trajectory/oracle_core.py", line 71, in load_oracle
obj = load_hdf5(filename=file_path, obj_class=Oracle, ignore_attrs_if_err=["knn", "knn_smoothing_w", "pca"])
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/celloracle/utility/hdf5_processing.py", line 122, in load_hdf5
_file = h5py.File(filename, "r")
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/h5py/_hl/files.py", line 567, in __init__
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/h5py/_hl/files.py", line 231, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 106, in h5py.h5f.open
OSError: Unable to open file (truncated file: eof = 409600, sblock->base_addr = 0, stored_eof = 81507062)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3508, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-4-2eef2d105f79>", line 1, in <module>
oracle = co.data.load_tutorial_oracle_object()
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/celloracle/data/load_data.py", line 118, in load_tutorial_oracle_object
return load_hdf5.load_hdf5(path)
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/celloracle/utility/load_hdf5.py", line 35, in load_hdf5
obj = load_oracle(file_path=file_path)
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/celloracle/trajectory/oracle_core.py", line 75, in load_oracle
obj = load_hdf5(filename=file_path, obj_class=Oracle, ignore_attrs_if_err=["knn", "knn_smoothing_w", "pca"])
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/celloracle/utility/hdf5_processing.py", line 122, in load_hdf5
_file = h5py.File(filename, "r")
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/h5py/_hl/files.py", line 567, in __init__
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/home/ray/anaconda3/envs/celloracle_env/lib/python3.8/site-packages/h5py/_hl/files.py", line 231, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 106, in h5py.h5f.open
OSError: Unable to open file (truncated file: eof = 409600, sblock->base_addr = 0, stored_eof = 81507062
Hello! Thank you for creating this wonderful package! I found an error when using
oracle = co.data.load_tutorial_oracle_object()
. How can I solve this problem?Session information: