chembl_webresource_client
chembl_webresource_client copied to clipboard
TypeError: 'NoneType' object cannot be interpreted as an integer
from chembl_webresource_client.new_client import new_client as cwc
molecule = cwc.molecule
res = molecule.search('viagra')
res
First time this works, then is throws this error:
TypeError: 'NoneType' object cannot be interpreted as an integer
target = cwc.target
target.filter(target_synonym__icontains='hERG')
TypeError: 'NoneType' object cannot be interpreted as an integer