Repository navigation
removed _binary_to_string_handle - #2521
Conversation
|
@peterjc I'll leave the honor of removing |
| if subtype == "plain": | ||
| url = handle.url | ||
| handle = io.TextIOWrapper(handle, encoding="utf8") | ||
| handle = io.TextIOWrapper(handle, encoding="UTF-8") |
There was a problem hiding this comment.
Is it worth a note here that the NCBI server says it uses UTF-8?
(Same applies to the other modules)
peterjc
left a comment
There was a problem hiding this comment.
Looks good - I take it the online tests are all running fine for you locally? I was having trouble with NCBI BLAST yesterday (waiting indefinitely) which hindered testing things.
Assuming the continuous integration tests pass, ready to merge? 👍
|
Cross reference #2420 - and sure, I can do the final removal of the near empty file, and close the issue if you like :) |
Codecov Report
@@ Coverage Diff @@
## master #2521 +/- ##
==========================================
+ Coverage 84.67% 84.81% +0.13%
==========================================
Files 319 319
Lines 52231 52815 +584
==========================================
+ Hits 44226 44793 +567
- Misses 8005 8022 +17
Continue to review full report at Codecov.
|
This pull request removes _binary_to_string_handle from Bio._py3k and the modules that used it (Bio.KEGG, Bio.ExPASy, Bio.TogoWS). Some minor cleanup along the way.
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, have runflake8locally, andunderstand that AppVeyor and TravisCI will be used to confirm the Biopython unit
tests and style checks 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.)