Closed bevankoopman closed 4 years ago
Bevan,
Thank you for the bug report! Which python version, UMLS installation, and operating system are you running QuickUMLS on?
Best, Luca
UMLS 2018AA
Python 3.5.1
macOS 10.12.6
QuickUMLS installed via pip
@bevankoopman,
I couldn't reproduce this error on my part, but I have added a try...catch
statement to prevent crashing.
I've also added support for unqlite as an alternative to leveldb for storage of CUIs and Semantic Types (see #54 for more details). Other than better multi- processing and threading support, unqlite should have better support for unicode. You can try it in brach soldni/conc by installing QuickUMLS with option -d unqlite
.
-Luca
I'm getting the following KeyError when using the input text "Fluorouracil"
Code to reproduce:
From the above error I added a
print(term)
totoolbox.py:261
. This then gives the output:Note the unicode character on the last entry that seems to be the issue.