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
======================================================= ERRORS =======================================================
___________________________________ ERROR collecting scab/tests/test_cellhashes.py ___________________________________
ImportError while importing test module '/Users/kartik/Documents/GitHub/scab/scab/tests/test_cellhashes.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../opt/miniconda3/envs/py38/lib/python3.8/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scab/tests/test_cellhashes.py:8: in
from ..tools.cellhashes import _bw_silverman, positive_feature_cutoff, demultiplex
E ImportError: cannot import name 'positive_feature_cutoff' from 'scab.tools.cellhashes' (/Users/kartik/Documents/GitHub/scab/scab/tools/cellhashes.py)
================================================== warnings summary ==================================================
../../../opt/miniconda3/envs/py38/lib/python3.8/site-packages/abstar/core/abstar.py:39
/Users/kartik/opt/miniconda3/envs/py38/lib/python3.8/site-packages/abstar/core/abstar.py:39: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
../../../opt/miniconda3/envs/py38/lib/python3.8/site-packages/pkg_resources/init.py:2871
/Users/kartik/opt/miniconda3/envs/py38/lib/python3.8/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('mpl_toolkits').
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================== short test summary info ===============================================
ERROR scab/tests/test_cellhashes.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================ 2 warnings, 1 error in 2.52s ============================================`
The text was updated successfully, but these errors were encountered:
I downloaded the repo and ran the above, got an ImportError: please see below.
Kartik
`================================================ test session starts =================================================
platform darwin -- Python 3.8.18, pytest-7.4.2, pluggy-1.3.0
rootdir: /Users/kartik/Documents/GitHub/scab
plugins: anyio-4.0.0
collected 3 items / 1 error
======================================================= ERRORS =======================================================
___________________________________ ERROR collecting scab/tests/test_cellhashes.py ___________________________________
ImportError while importing test module '/Users/kartik/Documents/GitHub/scab/scab/tests/test_cellhashes.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../opt/miniconda3/envs/py38/lib/python3.8/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
scab/tests/test_cellhashes.py:8: in
from ..tools.cellhashes import _bw_silverman, positive_feature_cutoff, demultiplex
E ImportError: cannot import name 'positive_feature_cutoff' from 'scab.tools.cellhashes' (/Users/kartik/Documents/GitHub/scab/scab/tools/cellhashes.py)
================================================== warnings summary ==================================================
../../../opt/miniconda3/envs/py38/lib/python3.8/site-packages/abstar/core/abstar.py:39
/Users/kartik/opt/miniconda3/envs/py38/lib/python3.8/site-packages/abstar/core/abstar.py:39: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
../../../opt/miniconda3/envs/py38/lib/python3.8/site-packages/pkg_resources/init.py:2871
/Users/kartik/opt/miniconda3/envs/py38/lib/python3.8/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('mpl_toolkits')
.Implementing implicit namespace packages (as specified in PEP 420) is preferred to
pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packagesdeclare_namespace(pkg)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================== short test summary info ===============================================
ERROR scab/tests/test_cellhashes.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================ 2 warnings, 1 error in 2.52s ============================================`
The text was updated successfully, but these errors were encountered: