ELIFE-ASU / ecg

Pulling information from biological databases, and converting it into easy to use gmls for network science.
MIT License
3 stars 2 forks source link

raising warning before scraping causes multiple tqdm bars in jupyter #8

Open hbsmith opened 5 years ago

hbsmith commented 5 years ago

The check within Jgi.scrape_domain()

if domain in untested:
            warnings.warn("This domain is untested for this function.")

causes a new tqdm progress bar to appear in jupyter every iteration through loop used to scrape organisms. Need suggestions for preventing this behavior.

hbsmith commented 5 years ago

This doesn't happen with domain=GFragment but does happen with domain=Viruses for some reason.

hbsmith commented 5 years ago

And it only happens on Viruses when database='all'