Skip to content

Actually restrict to latin1 for BGZF output - #2532

Merged
peterjc merged 1 commit into
biopython:masterfrom
peterjc:bgzf_part2
Jan 22, 2020
Merged

peterjc merged 1 commit into
biopython:masterfrom
peterjc:bgzf_part2

Conversation

@peterjc

@peterjc peterjc commented Jan 10, 2020

Copy link
Copy Markdown
Member

This pull request addresses issue #2512, fixes an oversight in #2517.

This restores the behaviour in the last release of Biopython (BGZF was hard coded to use latin1 via Bio._py3k):

https://github.com/biopython/biopython/blob/biopython-176/Bio/_py3k/__init__.py#L76
https://github.com/biopython/biopython/blob/biopython-176/Bio/_py3k/__init__.py#L87

  • 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.rst file, have run flake8 locally, and
    understand 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.rst and CONTRIB.rst as part of this pull request, am listed
    already, or do not wish to be listed. (This acknowledgement is optional.)

@peterjc peterjc added the Bug label Jan 10, 2020
@peterjc
peterjc requested a review from mdehoon January 10, 2020 16:55
@codecov

codecov Bot commented Jan 10, 2020

Copy link
Copy Markdown

Codecov Report

Merging #2532 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2532      +/-   ##
==========================================
- Coverage   84.78%   84.78%   -0.01%     
==========================================
  Files         320      320              
  Lines       52344    52347       +3     
==========================================
+ Hits        44380    44381       +1     
- Misses       7964     7966       +2
Impacted Files Coverage Δ
Bio/bgzf.py 91.53% <100%> (-0.04%) ⬇️
Bio/SeqIO/SeqXmlIO.py 83.03% <0%> (-0.3%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d3029cd...381efa4. Read the comment docs.

@peterjc
peterjc merged commit 34a729e into biopython:master Jan 22, 2020
@peterjc
peterjc deleted the bgzf_part2 branch January 22, 2020 11:26
@peterjc peterjc mentioned this pull request Jan 22, 2020
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant