adata=diopy.input.read_h5( file = "adata.h5")
Error: module 'numpy' has no attribute 'object'.
np.object was a deprecated alias for the builtin object. To avoid this error in existing code, use object by itself. Doing this will not modify any behavior and is safe.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
UnboundLocalError Traceback (most recent call last)
Cell In[7], line 1
----> 1 adata=diopy.input.read_h5( file = "adata.h5")
File ~/.local/lib/python3.8/site-packages/diopy/input.py:58, in read_h5(file, assay_name)
56 finally:
57 h5.close()
---> 58 return adata
UnboundLocalError: local variable 'adata' referenced before assignment
Error: module 'numpy' has no attribute 'object'.
np.objectwas a deprecated alias for the builtinobject. To avoid this error in existing code, useobjectby itself. Doing this will not modify any behavior and is safe.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
UnboundLocalError Traceback (most recent call last)
Cell In[7], line 1
----> 1 adata=diopy.input.read_h5( file = "adata.h5")
File ~/.local/lib/python3.8/site-packages/diopy/input.py:58, in read_h5(file, assay_name)
56 finally:
57 h5.close()
---> 58 return adata
UnboundLocalError: local variable 'adata' referenced before assignment