Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Weird error when crawling chembl.compound: "The node drugname is not in the digraph" #16

Open
lhannest opened this issue Jan 16, 2019 · 0 comments

Comments

@lhannest
Copy link

http://biothings.io/explorer/api/v2/crawler?input_type=chembl.compound&input_value=CHEMBL707

Traceback (most recent call last):
  File "/home/ubuntu/opt/devpy3/lib/python3.5/site-packages/networkx/classes/digraph.py", line 779, in successors
    return iter(self._succ[n])
KeyError: 'drugname'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/opt/devpy3/lib/python3.5/site-packages/tornado/web.py", line 1509, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "/home/ubuntu/opt/biothings_explorer_web/src/handlers/entitycrawler.py", line 308, in get
    results = exploreinput(input_type, input_value)
  File "/home/ubuntu/opt/biothings_explorer_web/src/handlers/entitycrawler.py", line 163, in exploreinput
    endpoints = find_endpoint(_prefix)
  File "/home/ubuntu/opt/biothings_explorer_web/src/handlers/entitycrawler.py", line 44, in find_endpoint
    return list(bt_explorer.api_map.successors(input_type))
  File "/home/ubuntu/opt/devpy3/lib/python3.5/site-packages/networkx/classes/digraph.py", line 781, in successors
    raise NetworkXError("The node %s is not in the digraph." % (n,))
networkx.exception.NetworkXError: The node drugname is not in the digraph.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant