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

get_minimal_subgraph gives "RecursionError: maximum recursion depth exceeded" #596

Open
realmarcin opened this issue Oct 20, 2021 · 0 comments

Comments

@realmarcin
Copy link

When trying to obtain the GO subgraph for 800 input terms, as here:
https://github.com/kbaseIncubator/KE_KG/blob/main/src/embeddings/GO_ontobio.ipynb

I am running into the recursion limit RecursionError: maximum recursion depth exceeded.

I can set the limit all the way up to 30000 using the python sys command, however that still chokes on the above use case. Increasing this limit higher crashes the notebook …

An initial guess was that get_minimal_subgraph is not cycle safe hence will cause problems for ontologies with cycles.

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