sckott / pytaxize

python port of taxize (taxonomy toolbelt) for R
https://sckott.github.io/pytaxize/
MIT License
34 stars 13 forks source link

Add delay to respect ncbi entrez api rate limit #69

Closed dmboyd closed 4 years ago

dmboyd commented 4 years ago

Description

Add 1 second delay within the Refactor.xml() function when the ncbi/entrez api returns a header ['X-RateLimit-Remaining'] <=1

Related Issue

Refer to issue #68

sckott commented 4 years ago

thanks. good for now. we'll probably need a more thorough resolution - but this is a step in the right direction