Repository navigation
Update PAML docstrings - #1824
funcylambda wants to merge 3 commits into
Conversation
…hat occurs. Also, changed docstring so they have consistent capitalization. Baseml >> BASEML etc
|
Fixed docstring issues mentioned in #1708 |
|
|
||
| Check that the file exits, that the results file is not empty, and then | ||
| parse the file. Check there is a version in the results and then return | ||
| the results. Otherwise raise an exception.""" |
There was a problem hiding this comment.
Move the triple quote to its own line please - this and three other cases are failing the automated style checks using flake8:
$ flake8 Bio/
Bio/Phylo/PAML/baseml.py:93:1: D209 Multi-line docstring closing quotes should be on a separate line
Bio/Phylo/PAML/baseml.py:181:1: D209 Multi-line docstring closing quotes should be on a separate line
Bio/Phylo/PAML/codeml.py:94:1: D209 Multi-line docstring closing quotes should be on a separate line
Bio/Phylo/PAML/codeml.py:193:1: D209 Multi-line docstring closing quotes should be on a separate line
|
@brandoninvergo any views on upper case PAML (etc) versus lower case paml in the docstrings? In the specific case of the run methods, one might argue for lower case to match the binary name (and put it in reStructuredText markup too to be explicit)? |
|
Throughout the PAML documentation, the programs are referred to in all-lower case. Only the package itself is written in all caps. When originally writing |
|
Closed by #5034 building on this - thank you all! |
This pull request addresses issue #1708
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.)