Skip to content

Fixed variable typo - #1487

Merged
peterjc merged 2 commits into
biopython:masterfrom
phber:master
Jan 4, 2018
Merged

peterjc merged 2 commits into
biopython:masterfrom
phber:master

Conversation

@phber

@phber phber commented Dec 30, 2017 •

Copy link
Copy Markdown

Fixed a variable typo causing 'pseudocount' to be None when calling 'allow_transition' with default arguments, causing an error when calling the method 'train' in the class 'KnownStateTrainer'.

@codecov

codecov Bot commented Dec 30, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #1487 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1487   +/-   ##
=======================================
  Coverage   84.79%   84.79%           
=======================================
  Files         323      323           
  Lines       49393    49393           
=======================================
  Hits        41884    41884           
  Misses       7509     7509
Impacted Files Coverage Δ
Bio/HMM/MarkovModel.py 89.49% <100%> (ø) ⬆️

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 4e359e2...2b40995. Read the comment docs.

@peterjc

peterjc commented Jan 1, 2018

Copy link
Copy Markdown
Member

That looks like a clear bug, well spotted.

Are you happy to dual licence your contributions under both the Biopython License Agreement AND the BSD 3-Clause License? See #898.

Also, are you happy to be thanked by name in the NEWS.rst and CONTRIB.rst files?

@phber

phber commented Jan 2, 2018

Copy link
Copy Markdown
Author

I would be happy to license my contributions under theBioPython License Agreement and the BSD 3-clause license, and be thanked by name!

@peterjc

peterjc commented Jan 2, 2018

Copy link
Copy Markdown
Member

Great. Could you add yourself to the CONTRIB.rst files and NEWS.rst files as part of this pull request please? Note the alphabetical sorting.

If you can add a test case for this, even better, but I'm happy to apply the change as is. Thank you.

@phber

phber commented Jan 3, 2018 •

Copy link
Copy Markdown
Author

The issue appeared specifically when using the KnownStateTrainer class. There is currently no testing framework for this class in test_HMMGeneral.py, so unfortunately I won't be able to add a test in this pull. However, I might be able to add some test cases for the class in the future.

@peterjc

peterjc commented Jan 4, 2018

Copy link
Copy Markdown
Member

TravisCI failed due to a time out installing tox, I've restarted it - hopefully a brief network issue and not something horrible in our testing dependencies...

@peterjc
peterjc merged commit f1a095b into biopython:master Jan 4, 2018
@peterjc

peterjc commented Jan 4, 2018

Copy link
Copy Markdown
Member

Merged, thank you!

chapmanb pushed a commit that referenced this pull request Aug 15, 2019
Original author Brad Chapman and all the contributors since as tracked
with version control have agreed:

 - Brad Chapman (@chapmanb)
   http://mailman.open-bio.org/pipermail/biopython-dev/2013-July/019903.html
 - Brian Osborne (@bosborne)
   #898 (comment)
 - Carlos Pena (@carlosp420)
   #898 (comment)
 - Christian Brueffer (@cbrueffer)
   #898 (comment)
 - Chris Rands (@chris-rands)
   #1301
 - Connor McCoy (@cmccoy)
   #898 (comment)
 - Michiel de Hoon (@mdehoon)
   #898 (comment)
 - @morrme
   #1172 (comment)
 - Nick Negretti (@nimne)
   #1768 (comment)
 - Peter Cock (@peterjc)
   #898 (comment)
 - Phillip Garland (@pgarland)
   #898 (comment)
 - Philip Bergstrom (@phber)
   #1487 (comment)
 - Suresh Pannerselvam (@Amrithasuresh)
   #1575
 - Walter Gillett (@walterCibo)
   016d050#commitcomment-34693521

Suresh Pannerselvam (@Amrithasuresh)
       #1575
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