Repository navigation
Seqxml windows bug - #2525
Merged
Merged
Seqxml windows bug#2525
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2525 +/- ##
==========================================
- Coverage 84.77% 84.77% -0.01%
==========================================
Files 320 320
Lines 52372 52374 +2
==========================================
+ Hits 44398 44399 +1
- Misses 7974 7975 +1
Continue to review full report at Codecov.
|
3 tasks done
peterjc
approved these changes
Jan 10, 2020
peterjc
left a comment
Member
There was a problem hiding this comment.
Looks good - same idea as your recent changes in the Entrez XML parser to require binary mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request fixes Bio.SeqIO.SeqXmlIO by opening SeqXML files in binary mode to avoid encoding issues. This allows the bug previously observed on Windows to be fixed. Before applying this PR, the bug can be triggered on any platform by setting
(or anything else that is not UTF-8) in your terminal.
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.)