Skip to content

Bio.Phylo.BaseTree python3 - #2526

Merged
peterjc merged 1 commit into
biopython:masterfrom
mdehoon:phylo_python3
Jan 10, 2020
Merged

peterjc merged 1 commit into
biopython:masterfrom
mdehoon:phylo_python3

Conversation

@mdehoon

@mdehoon mdehoon commented Jan 10, 2020

Copy link
Copy Markdown
Contributor

This pull request converts Bio.Phylo.BaseTree to python3, and replaces iterlen that was used in that module by a simpler alternative.

  • 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.)

Comment thread Bio/_utils.py
import os


def iterlen(items):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, no reason to keep this now.

@codecov

codecov Bot commented Jan 10, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #2526 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2526      +/-   ##
==========================================
+ Coverage   84.77%   84.86%   +0.08%     
==========================================
  Files         320      320              
  Lines       52372    52766     +394     
==========================================
+ Hits        44398    44779     +381     
- Misses       7974     7987      +13
Impacted Files Coverage Δ
Bio/_utils.py 55.31% <ø> (-5.8%) ⬇️
Bio/Phylo/BaseTree.py 89.04% <100%> (+0.63%) ⬆️
Bio/SearchIO/__init__.py 87.96% <0%> (-0.64%) ⬇️
Bio/SeqIO/__init__.py 85.93% <0%> (+2.04%) ⬆️
Bio/SeqIO/SeqXmlIO.py 86.64% <0%> (+3.15%) ⬆️
Bio/File.py 89.04% <0%> (+4.04%) ⬆️

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 bf75689...2b57440. Read the comment docs.

@peterjc
peterjc merged commit 3044ca7 into biopython:master Jan 10, 2020
@mdehoon
mdehoon deleted the phylo_python3 branch January 10, 2020 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants