Repository navigation
increase delay time without API key to 0.37 - #1869
Conversation
| params = _construct_params(params) | ||
| options = _encode_options(ecitmatch, params) | ||
| delay = 0.1 if api_key else 0.333333334 | ||
| delay = 0.1 if api_key else 0.37 |
There was a problem hiding this comment.
Can you add a comment like this here:
# Using just 0.333333334 seconds sometimes hit the NCBI rate limit,
# the slightly longer pause of 0.37 seconds has been more reliable.Otherwise the value of 0.37 is confusing and given the code comments earlier looks like a typo.
|
You didn't agree to the licensing terms - we will not merge you pull request without this. Also do you want to be listed as a contributor? You can read the template again at https://github.com/biopython/biopython/blob/master/.github/PULL_REQUEST_TEMPLATE.md Note that in this case this is an online test, so currently we are not running it on TravisCI or AppVeyor - so only the Python style checks would be run automatically. |
|
Got it. I will update the PR then. |
1d89c31 to
9d39b27
Compare
Codecov Report
@@ Coverage Diff @@
## master #1869 +/- ##
==========================================
+ Coverage 85.47% 85.48% +<.01%
==========================================
Files 302 302
Lines 49425 49425
==========================================
+ Hits 42248 42249 +1
+ Misses 7177 7176 -1
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #1869 +/- ##
==========================================
+ Coverage 85.47% 85.48% +<.01%
==========================================
Files 302 302
Lines 49425 49425
==========================================
+ Hits 42248 42249 +1
+ Misses 7177 7176 -1
Continue to review full report at Codecov.
|
|
I have updated the PR and accepted the license terms. Thanks ! |
|
Lovely, thank you! |
Original author Jeffrey Chang, named copyright holders, and other contributors tracked with version control have all agreed: - Andrew Dalke (@adalke) http://mailman.open-bio.org/pipermail/biopython-dev/2013-August/019941.html - Austin Varela (@austinv11) biopython#1697 - Carlos Pena (@carlosp420) biopython#898 (comment) - chrismit (@Chris7) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Connor T. Skennerton (@ctSkennerton) biopython#898 (comment) - Edward Liaw (@edliaw) biopython#898 (comment) - Eric Rasche (@erasche) biopython#898 (comment) - Francesco Gastaldello (@Gasta88) biopython#1063 - Francisco Pina-Martins (@StuntsPT) biopython#583 (comment) - Jacek Śmietański (@dadoskawina) biopython#898 (comment) - jchang (@jefftc) biopython#898 (comment) - João D Ferreira (@jdferreira) biopython#898 (comment) - Mark Amery (@ExplodingCabbage) biopython#2165 - Markus Piotrowski (@MarkusPiotrowski) biopython#898 (comment) - Michiel de Hoon (@mdehoon) biopython#898 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Sergei Lebedev (@superbobry) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Sujan Dulal (@Dsujan) biopython#2430 - Travis Wrightsman (@twrightsman) biopython#898 (comment) - Yi Hsiao (@hsiaoyi0504) biopython#1869
Original author Jeffrey Chang, named copyright holders, and other contributors tracked with version control have all agreed: - Andrew Dalke (@adalke) http://mailman.open-bio.org/pipermail/biopython-dev/2013-August/019941.html - Austin Varela (@austinv11) biopython#1697 - Carlos Pena (@carlosp420) biopython#898 (comment) - chrismit (@Chris7) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Connor T. Skennerton (@ctSkennerton) biopython#898 (comment) - Edward Liaw (@edliaw) biopython#898 (comment) - Eric Rasche (@erasche) biopython#898 (comment) - Francesco Gastaldello (@Gasta88) biopython#1063 - Francisco Pina-Martins (@StuntsPT) biopython#583 (comment) - Jacek Śmietański (@dadoskawina) biopython#898 (comment) - jchang (@jefftc) biopython#898 (comment) - João D Ferreira (@jdferreira) biopython#898 (comment) - Mark Amery (@ExplodingCabbage) biopython#2165 - Markus Piotrowski (@MarkusPiotrowski) biopython#898 (comment) - Michiel de Hoon (@mdehoon) biopython#898 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Sergei Lebedev (@superbobry) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Sujan Dulal (@Dsujan) biopython#2430 - Travis Wrightsman (@twrightsman) biopython#898 (comment) - Yi Hsiao (@hsiaoyi0504) biopython#1869
Original author Jeffrey Chang, named copyright holders, and other contributors tracked with version control have all agreed: - Andrew Dalke (@adalke) http://mailman.open-bio.org/pipermail/biopython-dev/2013-August/019941.html - Austin Varela (@austinv11) #1697 - Carlos Pena (@carlosp420) #898 (comment) - chrismit (@Chris7) #898 (comment) - Christian Brueffer (@cbrueffer) #898 (comment) - Connor T. Skennerton (@ctSkennerton) #898 (comment) - Edward Liaw (@edliaw) #898 (comment) - Eric Rasche (@erasche) #898 (comment) - Francesco Gastaldello (@Gasta88) #1063 - Francisco Pina-Martins (@StuntsPT) #583 (comment) - Jacek Śmietański (@dadoskawina) #898 (comment) - jchang (@jefftc) #898 (comment) - João D Ferreira (@jdferreira) #898 (comment) - Mark Amery (@ExplodingCabbage) #2165 - Markus Piotrowski (@MarkusPiotrowski) #898 (comment) - Michiel de Hoon (@mdehoon) #898 (comment) - Peter Cock (@peterjc) #898 (comment) - Sergei Lebedev (@superbobry) #898 (comment) - Sergio Valqui (@svalqui) #1749 - Sujan Dulal (@Dsujan) #2430 - Travis Wrightsman (@twrightsman) #898 (comment) - Yi Hsiao (@hsiaoyi0504) #1869
To fix issue #1867.
This pull request addresses issue #...
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rstfile and understand that AppVeyor andTravisCI will be used to confirm the Biopython unit tests and
flake8stylechecks pass with these changes.
I have added my name to the alphabetical contributors listings in the files
NEWS.rstandCONTRIB.rstas part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)