dhimmel / uberon Goto Github PK
View Code? Open in Web Editor NEWUser-friendly anatomical structures data from the Uberon Ontology
Home Page: https://doi.org/10.15363/thinklab.d41
User-friendly anatomical structures data from the Uberon Ontology
Home Page: https://doi.org/10.15363/thinklab.d41
An error occurred in the module below. I used the current version uberon 2021.02.13. But when I used the old version you provided 2015-07-24 Uberon release, there is no error.
---------------------------------------------------------------------------
RecursionError Traceback (most recent call last)
<ipython-input-9-8c5d22ff6c90> in <module>
9 # Find whether term is in humans by seeing if node or its children
10 # xref specific human terminologies
---> 11 children = get_children(ontology, node, in_keys = {'is_a', 'part_of', 'develops_from'})
12 child_xrefs = set()
13 for child in children | {node}:
<ipython-input-7-44d667171172> in get_children(graph, node, in_keys, out_keys)
4 if key in in_keys:
5 children.add(u)
----> 6 children |= get_children(graph, u)
7 for u, v, key in graph.out_edges(node, keys=True):
8 if key in out_keys:
... last 1 frames repeated, from the frame below ...
<ipython-input-7-44d667171172> in get_children(graph, node, in_keys, out_keys)
4 if key in in_keys:
5 children.add(u)
----> 6 children |= get_children(graph, u)
7 for u, v, key in graph.out_edges(node, keys=True):
8 if key in out_keys:
RecursionError: maximum recursion depth exceeded
-------------------------------------------------------------------------------------------------------
The error message was as follows, and I tried several things, but it didn't work. What should I do?
-------------------------------------------------------------------------------------------------------
import sys
sys.setrecursionlimit(30000)
print(sys.getrecursionlimit())
-------------------------------------------------------------------------------------------------------
The kernel for human-constraint.ipynb appears to have died. It will restart automatically.
-------------------------------------------------------------------------------------------------------
Kindly regards
Hi Daniel,
Which OBO package did you use? At the moment "pip install obo" does not work, since it seems no such library exists anymore.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.