Skip to content

Ability to specify codon table for dn_ds matrix calculation and test for get_dn_ds_matrix - #1148

Closed
zruan wants to merge 0 commit into
biopython:masterfrom
zruan:master
Closed

zruan wants to merge 0 commit into
biopython:masterfrom
zruan:master

Conversation

@zruan

@zruan zruan commented Apr 12, 2017

Copy link
Copy Markdown
Contributor

This pull request incorporates the code from @alexjironkin to allow user-specified codon table as argument for dn_ds_matrix calculation #765. The test code for get_dn_ds_matrix is also included.

@codecov

codecov Bot commented Apr 12, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #1148 into master will increase coverage by 0.04%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1148      +/-   ##
==========================================
+ Coverage   79.77%   79.81%   +0.04%     
==========================================
  Files         323      323              
  Lines       51153    51153              
==========================================
+ Hits        40809    40830      +21     
+ Misses      10344    10323      -21
Impacted Files Coverage Δ
Bio/codonalign/codonalignment.py 86.87% <66.66%> (+6.94%) ⬆️
Bio/codonalign/codonseq.py 87.85% <0%> (+0.4%) ⬆️

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 b2d5c2f...c289535. Read the comment docs.

@zruan

zruan commented Apr 12, 2017

Copy link
Copy Markdown
Contributor Author

Seems like the "codecov/patch" check failed, but I have no idea how to fix it.

@peterjc

peterjc commented Apr 12, 2017

Copy link
Copy Markdown
Member

The CodeCov results lately seem to fluctuate far more than I recall - sometimes I can see why, e.g. bfe69fc

This is saying that only 66.6% of your changes have unit test coverage, and we'd like 80% as the target. I'm willing to merge this anyway - assuming everything else is fine.

Do you know how to make a commit under another user's name? That's the easiest way to ensure @alexjironkin is credited in the git history.

Also, we should include them in the CONTRIB.rst file, and both of you in the NEWS.rst file for the next release.

@etal - any comments?

@zruan

zruan commented Apr 13, 2017

Copy link
Copy Markdown
Contributor Author

Hi Peter, I modified the author of the commit 4aab5b841d03c3acfa878c87f4e460e24608f8df locally. However, I'm not sure how to push the log change to the github. When I use git push, it tells me that Everything up-to-date.

@peterjc

peterjc commented Apr 13, 2017

Copy link
Copy Markdown
Member

@zruan it is possible, you may need to add --force to the push command if you have rebased history.

It might be simpler to make a new branch and a new pull request?

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