Repository navigation
Update paml run docstrings - #1793
Conversation
This commit has updated the docstrings for the Paml.run function to better reflect the behaviour of the function. Namely that it does not have a return value, rather checks the success of a process.
Updated the Codeml.run docstrings to better reflect the behaviour of the function.
Update the docstring for Baseml.run to better reflect the behaviour of the function.
|
@brandoninvergo does this look good to you too? AppVeyor seems to have got stuck uploading the coverage, but after running the tests. I'll re-run that now... |
|
Generally looks good, and thanks to @RonaCostello for taking on the task! A couple of minor comments:
|
|
I have corrected the spelling mistake and updated the docstrings to imperative tense. I can push them if that is what is wanted 👍 |
|
Yes, try to use imperative tense - especially for the one line summary. We try to enforce this via the flake8 pydocstyle plugin check |
Codecov Report
@@ Coverage Diff @@
## master #1793 +/- ##
==========================================
+ Coverage 85.44% 85.44% +<.01%
==========================================
Files 331 331
Lines 50253 50250 -3
==========================================
- Hits 42937 42935 -2
+ Misses 7316 7315 -1
Continue to review full report at Codecov.
|
|
AppVeyor got stuck in the 4th build target, but it looks unrelated - so merging anyway. Thank you Rona 👍 |
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Adhemar Zerlotini (@azneto) biopython#1412 (comment) - Brandon Invergo (@brandoninvergo) biopython#898 (comment) - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Chris Warth (@cswarth) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - @morrme biopython#1172 (comment) - Nick Negretti (@nimne) biopython#1768 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rona Costello (@RonaCostello) biopython#1793 - Sergei Lebedev (@superbobry) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Suresh Panneerselvam (@Amrithasuresh) biopython#1575
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) biopython#898 (comment) - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Lenna Peterson (@lennax) biopython#898 (comment) - @morrme biopython#1172 (comment) - Nick Negretti (@nimne) biopython#1768 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rona Costello (@RonaCostello) biopython#1793 - Sergio Valqui (@svalqui) biopython#1749 - Wayne Decatur (@fomightez) biopython#898 (comment)
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) biopython#898 (comment) - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Chris Warth (@cswarth) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Lenna Peterson (@lennax) biopython#898 (comment) - @morrme biopython#1172 (comment) - Nick Negretti (@nimne) biopython#1768 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rona Costello (@RonaCostello) biopython#1793 - Sergei Lebedev (@superbobry) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Wayne Decatur (@fomightez) biopython#898 (comment)
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) biopython#898 (comment) - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Lenna Peterson (@lennax) biopython#898 (comment) - @morrme biopython#1172 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rona Costello (@RonaCostello) biopython#1793 - Sergio Valqui (@svalqui) biopython#1749
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Adhemar Zerlotini (@azneto) biopython#1412 (comment) - Brandon Invergo (@brandoninvergo) biopython#898 (comment) - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Chris Warth (@cswarth) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - @morrme biopython#1172 (comment) - Nick Negretti (@nimne) biopython#1768 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rona Costello (@RonaCostello) biopython#1793 - Sergei Lebedev (@superbobry) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Suresh Panneerselvam (@Amrithasuresh) biopython#1575
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) biopython#898 (comment) - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Lenna Peterson (@lennax) biopython#898 (comment) - @morrme biopython#1172 (comment) - Nick Negretti (@nimne) biopython#1768 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rona Costello (@RonaCostello) biopython#1793 - Sergio Valqui (@svalqui) biopython#1749 - Wayne Decatur (@fomightez) biopython#898 (comment)
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) biopython#898 (comment) - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Chris Warth (@cswarth) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Lenna Peterson (@lennax) biopython#898 (comment) - @morrme biopython#1172 (comment) - Nick Negretti (@nimne) biopython#1768 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rona Costello (@RonaCostello) biopython#1793 - Sergei Lebedev (@superbobry) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Wayne Decatur (@fomightez) biopython#898 (comment)
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) biopython#898 (comment) - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Lenna Peterson (@lennax) biopython#898 (comment) - @morrme biopython#1172 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rona Costello (@RonaCostello) biopython#1793 - Sergio Valqui (@svalqui) biopython#1749
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Adhemar Zerlotini (@azneto) #1412 (comment) - Brandon Invergo (@brandoninvergo) #898 (comment) - Brian Osborne (@bosborne) #898 (comment) - Carlos Pena (@carlosp420) #898 (comment) - Chris Warth (@cswarth) #898 (comment) - Christian Brueffer (@cbrueffer) #898 (comment) - @morrme #1172 (comment) - Nick Negretti (@nimne) #1768 (comment) - Peter Cock (@peterjc) #898 (comment) - Rona Costello (@RonaCostello) #1793 - Sergei Lebedev (@superbobry) #898 (comment) - Sergio Valqui (@svalqui) #1749 - Suresh Panneerselvam (@Amrithasuresh) #1575
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) #898 (comment) - Brian Osborne (@bosborne) #898 (comment) - Carlos Pena (@carlosp420) #898 (comment) - Christian Brueffer (@cbrueffer) #898 (comment) - Lenna Peterson (@lennax) #898 (comment) - @morrme #1172 (comment) - Nick Negretti (@nimne) #1768 (comment) - Peter Cock (@peterjc) #898 (comment) - Rona Costello (@RonaCostello) #1793 - Sergio Valqui (@svalqui) #1749 - Wayne Decatur (@fomightez) #898 (comment)
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) #898 (comment) - Brian Osborne (@bosborne) #898 (comment) - Carlos Pena (@carlosp420) #898 (comment) - Chris Warth (@cswarth) #898 (comment) - Christian Brueffer (@cbrueffer) #898 (comment) - Lenna Peterson (@lennax) #898 (comment) - @morrme #1172 (comment) - Nick Negretti (@nimne) #1768 (comment) - Peter Cock (@peterjc) #898 (comment) - Rona Costello (@RonaCostello) #1793 - Sergei Lebedev (@superbobry) #898 (comment) - Sergio Valqui (@svalqui) #1749 - Wayne Decatur (@fomightez) #898 (comment)
Original author Brandon Invergo and contributors since as tracked with version control have all agreed: - Brandon Invergo (@brandoninvergo) #898 (comment) - Brian Osborne (@bosborne) #898 (comment) - Carlos Pena (@carlosp420) #898 (comment) - Christian Brueffer (@cbrueffer) #898 (comment) - Lenna Peterson (@lennax) #898 (comment) - @morrme #1172 (comment) - Peter Cock (@peterjc) #898 (comment) - Rona Costello (@RonaCostello) #1793 - Sergio Valqui (@svalqui) #1749
This pull request addresses issue #1708
Hey, this is my first contribution to BioPython (and my first open source contribution ever!!), thanks for labelling this as a good first issue. I've updated and added various paml docstrings.
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 and understand that AppVeyor andTravisCI will be used to confirm the Biopython unit tests and
flake8stylechecks 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.)