You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fresh installations over pip will fail because current version installed of numpy no longer supports:
.venv_pyscenic/lib/python3.11/site-packages/pyscenic/transform.py", line 42, in <module>
("Enrichment", COLUMN_NAME_ANNOTATION): np.object,
^^^^^^^^^
File ".venv_pyscenic/lib/python3.11/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: 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. Did you mean: 'object_'?
Mote that most errors are due to the input from the user, and therefore should be treated as questions in the Discussions. Please, only report them as bugs if you are quite certain that they are not behaving as expected.
This is not parameter depenedent, but a dependency issue.
Steps to reproduce the behavior
Command run when the error occurred:
# in a fresh venv
pip install pyscenic
# run grn with some data from the cli
Error encountered:
.venv_pyscenic/lib/python3.11/site-packages/pyscenic/transform.py:42: FutureWarning: In the future `np.object` will be defined as the corresponding NumPy scalar.
("Enrichment", COLUMN_NAME_ANNOTATION): np.object,
Traceback (most recent call last):
File ".venv_pyscenic/bin/pyscenic", line 5, in <module>
from pyscenic.cli.pyscenic import main
File ".venv_pyscenic/lib/python3.11/site-packages/pyscenic/cli/pyscenic.py", line 26, in <module>
from pyscenic.prune import _prepare_client, find_features, prune2df
File ".venv_pyscenic/lib/python3.11/site-packages/pyscenic/prune.py", line 27, in <module>
from .transform import (
File ".venv_pyscenic/lib/python3.11/site-packages/pyscenic/transform.py", line 42, in <module>
("Enrichment", COLUMN_NAME_ANNOTATION): np.object,
^^^^^^^^^
File ".venv_pyscenic/lib/python3.11/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: 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. Did you mean: 'object_'?
Expected behavior
The command to run without complaining about the numpy issue.
Please complete the following information:
pySCENIC version: even -h throws the error, 0.12.1 I think
Installation method: pip
Run environment: bash and Jupyter
OS: macOS
Package versions: [obtain using pip freeze, conda list, or skip this if using Docker/Singularity]:
Describe the bug
Fresh installations over pip will fail because current version installed of numpy no longer supports:
This is not parameter depenedent, but a dependency issue.
Steps to reproduce the behavior
Expected behavior
The command to run without complaining about the numpy issue.
Please complete the following information:
pip freeze
,conda list
, or skip this if using Docker/Singularity]:Thanks!
The text was updated successfully, but these errors were encountered: