biothings / mygene.py

mygene is an easy-to-use Python wrapper to access MyGene.Info services.
Other
82 stars 13 forks source link

query prints "No results to return", can't turn off #2

Closed cossio closed 5 years ago

cossio commented 6 years ago

I need to do some text processing on the output of query. I set fetch_all = True because the query is large. But then it prints two messages that make parsing more difficult:

Fetching 30 genes(s) . . .
No results to return

I discoverd the flag verbose and set it to False, but it still prints No results to return. How can I turn this off?

namespacestd0 commented 5 years ago

Fixed in 546f2e30 Caused by inproper detection of the end of result, thus producing an "error" type message, bypassing verbosity setting.