Skip to content

diopy.input.read_h5 bug #20

@Famingzhao

Description

@Famingzhao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions