-
Notifications
You must be signed in to change notification settings - Fork 8
error #21
Description
before it worked and now I have an error
mycode :
import libchebipy as libchebi
mol_chebi_entity = libchebi.ChebiEntity("CHEBI:63859")
print (mol_chebi_entity)
error:
File ".\test_libchebi.py", line 3, in
mol_chebi_entity = libchebi.ChebiEntity("CHEBI:63859")
File "C:\Python38\lib\site-packages\libchebipy_chebi_entity.py", line 30, in init
if self.get_name() is None:
File "C:\Python38\lib\site-packages\libchebipy_chebi_entity.py", line 93, in get_name
name = parsers.get_name(self.__chebi_id)
File "C:\Python38\lib\site-packages\libchebipy_parsers.py", line 242, in get_name
__parse_compounds()
File "C:\Python38\lib\site-packages\libchebipy_parsers.py", line 320, in __parse_compounds
else int(tokens[9 if len(tokens) > 9 else 8])
ValueError: invalid literal for int() with base 10: 'MetaboLights'
before it worked and now