biothings / mygene.info

MyGene.info: A BioThings API for gene annotations
http://mygene.info
Other
113 stars 20 forks source link

AttributeError in querymany #11

Closed alexlenail closed 3 years ago

alexlenail commented 7 years ago

After about 40,000 queries through a querymany, this error crops up:

.../Documents/project/venv/lib/python3.6/site-packages/mygene/__init__.py in querymany(self, qterms, scopes, **kwargs)
    569                 out.extend(hits)
    570                 for hit in hits:
--> 571                     if hit.get('notfound', False):
    572                         li_missing.append(hit['query'])
    573                     else:

AttributeError: 'str' object has no attribute 'get'

What's going on?

namespacestd0 commented 3 years ago

Can you provide a specific query for us to replicate the issue?

newgene commented 3 years ago

Closing it for now, as we cannot reproduce the error. We can reopen it if the issue comes up again.