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

Fix sleep_time causing API rate limit exceeded #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ttdtrang
Copy link

@ttdtrang ttdtrang commented Jul 4, 2019

When api_key is not provided, Entrez allows 3 requests per second, thus sleep_time should be at least (1/3) second. Rounding error caused it to wait for less than (1/3), resulting in API rate limit exceeded error. Fix it into 0.34.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant