|
Hi, I get the following error when I follow the tutorial of PyMedTermino2 on readthedocs:
>>> concept.descendant_concepts()
Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "/home/elias/.local/lib/python3.6/site-packages/owlready2/util.py", line 144, in __repr__
self.populate()
File "/home/elias/.local/lib/python3.6/site-packages/owlready2/util.py", line 140, in populate
list.__init__(self, self._get_content())
File "/home/elias/.local/lib/python3.6/site-packages/owlready2/util.py", line 137, in _get_content
def _get_content(self): raise NotImplementedError
NotImplementedError
Whereas the other methods works (label, parents, children, ancestor_concepts()).
I tried with different concepts ("Entire heart", "Asthma" and "Alzheimer's disease") but I always get this error message.
By the way I'm under Python 3.6.8 and I've installed umls-2020AA-metathesaurus.zip file.
Thanks by advance.
|