chembl_webresource_client icon indicating copy to clipboard operation
chembl_webresource_client copied to clipboard

TypeError: 'NoneType' object cannot be interpreted as an integer

Open sorenwacker opened this issue 5 years ago • 1 comments

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

sorenwacker avatar Apr 15 '20 00:04 sorenwacker

target = cwc.target
target.filter(target_synonym__icontains='hERG')

TypeError: 'NoneType' object cannot be interpreted as an integer

sorenwacker avatar Apr 15 '20 00:04 sorenwacker