Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hbsmith opened this issue Jul 23, 2019 · 2 comments
Open
Labels
bug Something isn't working

Comments

@hbsmith
Copy link
Contributor

hbsmith commented Jul 23, 2019

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 hbsmith added the bug Something isn't working label Jul 23, 2019
@hbsmith
Copy link
Contributor Author

hbsmith commented Jul 23, 2019

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

@hbsmith
Copy link
Contributor Author

hbsmith commented Jul 24, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant