Hi jiba
I have below code :
"
default_world.set_backend(filename = "pym.sqlite3")
import_umls("umls-2019AA-full.zip", terminologies = ["ICD10", "SNOMEDCT_US", "CUI"])
default_world.save()
default_world.set_backend(filename = "pym.sqlite3")
PYM = get_ontology("
http://PYM/").load()
print(type(PYM))
SNOMEDCT_US = PYM["SNOMEDCT_US"]
concept = SNOMEDCT_US[186675001] =>> line 12
print(concept)
"
my error is :
"
Traceback (most recent call last):
File "C:/ReportClassification/OWLready2.py", line 12, in <module>
concept = SNOMEDCT_US[186675001]
TypeError: 'NoneType' object is not subscriptable
"
Can you guide me?
thank you