Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running download command for database kegg #39

Open
shivashankarv opened this issue Jun 9, 2021 · 0 comments
Open

Error while running download command for database kegg #39

shivashankarv opened this issue Jun 9, 2021 · 0 comments

Comments

@shivashankarv
Copy link

Hi,

I get the following error while running pathme kegg bel. This is likely because module_name is a required param of the function bio2bel.utils.get_connection(). It isn't in more recent versions of biobel.

(pathme) ubuntu@ip-10-65-96-200:~/projects/PathMe/src/pathme$ pathme kegg bel
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/pathme/bin/pathme", line 33, in <module>
    sys.exit(load_entry_point('pathme', 'console_scripts', 'pathme')())
  File "/home/ubuntu/anaconda3/envs/pathme/bin/pathme", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/home/ubuntu/anaconda3/envs/pathme/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 167, in load
    module = import_module(match.group('module'))
  File "/home/ubuntu/anaconda3/envs/pathme/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/ubuntu/projects/PathMe/src/pathme/cli.py", line 11, in <module>
    from .constants import CX_DIR, KEGG_BEL, KEGG_FILES, PPI_DIR, REACTOME_BEL, REACTOME_FILES, SPIA_DIR, UNIVERSE_DIR, \
  File "/home/ubuntu/projects/PathMe/src/pathme/constants.py", line 27, in <module>
    DEFAULT_CACHE_CONNECTION = get_connection()
TypeError: get_connection() missing 1 required positional argument: 'module_name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant