Repository navigation
add doc string to AlignIO, Blast and condoalign module - #1983
Conversation
|
It would have been better to start from the current master branch, but since your work on the Align module has just been merged, it doesn't actually cause any problems. The automated style checks are failing due to missing full stops, and worse you've accidentally made a syntax error: Have you installed |
| generic_nucleotide) | ||
|
|
||
| def get_aln_length(self): | ||
| """Get aligment length""" |
| return "".join(amino_acids) | ||
|
|
||
| def toSeq(self, alphabet=generic_dna): | ||
| """Convert DNA to sequence""" |
There was a problem hiding this comment.
Missing full stop. I would probably be clearer to say Seq object?
| rf_table=self.rf_table) | ||
|
|
||
| @classmethod | ||
| """Get condon sequence from sequence data""" |
There was a problem hiding this comment.
Also this is in the wrong place (which is causing the syntax error), it should be below the def line, not above it.
|
Hi, fixed as required, sorry for the small mistake, I am new to open source! |
Codecov Report
@@ Coverage Diff @@
## master #1983 +/- ##
==========================================
- Coverage 85.05% 83.74% -1.32%
==========================================
Files 312 311 -1
Lines 50147 50082 -65
==========================================
- Hits 42654 41940 -714
- Misses 7493 8142 +649
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1983 +/- ##
=======================================
Coverage 85.09% 85.09%
=======================================
Files 314 314
Lines 50310 50310
=======================================
Hits 42810 42810
Misses 7500 7500
Continue to review full report at Codecov.
|
|
|
||
| @classmethod | ||
| def from_seq(cls, seq, alphabet=default_codon_alphabet, rf_table=None): | ||
| """Get condon sequence from sequence data.""" |
|
This is looking good - just one tiny typo to fix (which I should have spotted last time), and we can apply your changes. Do you want to add your name to the NEWS and CONTRIB file? |
|
Hi, fixed as required! Sure you can add my name to the NEWS and CONTRIB file! |
|
Branched rebased and updated to add name... assuming the tests still pass, this looks ready to merge. |
|
Merged, thank you! |
Original author Zheng Ruan and contributors tracked by version control have agreed: - Adhemar Zerlotini (@azneto) biopython#1412 (comment) - Benjamin Vaisvil (@bvaisvil) biopython#1613 - Carlos Pena (@carlosp420) biopython#898 (comment) - Chris Rands (@chris-rands) biopython#1301 - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Juse (@JuseTiZ) biopython#4556 - Michiel de Hoon (@mdehoon) biopython#898 (comment) - Micky Yun Chan (@michiboo) biopython#1983 - @morrme biopython#1172 (comment) - Neil P. (@npars) biopython#3937 - Peter Cock (@peterjc) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Sujan Dulal (@Dsujan) biopython#2430 - Travis Wrightsman (@twrightsman) biopython#898 (comment) - Zheng Ruan (@zruan) biopython#898 (comment)
Original author Zheng Ruan and contributors since tracked by version control have agreed: - Adhemar Zerlotini (@azneto) biopython#1412 (comment) - Alex Jironkin (@alexjironkin) PENDING VIA biopython#765 - Benjamin Vaisvil (@bvaisvil) biopython#1613 - Carlos Pena (@carlosp420) biopython#898 (comment) - Chris Rands (@chris-rands) biopython#1301 - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Eric Talevich (@etal) biopython#898 (comment) - Michiel de Hoon (@mdehoon) biopython#898 (comment) - Micky Yun Chan (@michiboo) biopython#1983 - @morrme biopython#1172 (comment) - Nick Negretti (@nimne) biopython#1768 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Sujan Dulal (@Dsujan) biopython#2430 - Travis Wrightsman (@twrightsman) biopython#898 (comment) - Zheng Ruan (@zruan) biopython#898 (comment)
Original author Zheng Ruan and contributors tracked by version control have agreed: - Adhemar Zerlotini (@azneto) #1412 (comment) - Benjamin Vaisvil (@bvaisvil) #1613 - Carlos Pena (@carlosp420) #898 (comment) - Chris Rands (@chris-rands) #1301 - Christian Brueffer (@cbrueffer) #898 (comment) - Juse (@JuseTiZ) #4556 - Michiel de Hoon (@mdehoon) #898 (comment) - Micky Yun Chan (@michiboo) #1983 - @morrme #1172 (comment) - Neil P. (@npars) #3937 - Peter Cock (@peterjc) #898 (comment) - Sergio Valqui (@svalqui) #1749 - Sujan Dulal (@Dsujan) #2430 - Travis Wrightsman (@twrightsman) #898 (comment) - Zheng Ruan (@zruan) #898 (comment)
Original author Zheng Ruan and contributors since tracked by version control have agreed: - Adhemar Zerlotini (@azneto) #1412 (comment) - Alex Jironkin (@alexjironkin) PENDING VIA #765 - Benjamin Vaisvil (@bvaisvil) #1613 - Carlos Pena (@carlosp420) #898 (comment) - Chris Rands (@chris-rands) #1301 - Christian Brueffer (@cbrueffer) #898 (comment) - Eric Talevich (@etal) #898 (comment) - Michiel de Hoon (@mdehoon) #898 (comment) - Micky Yun Chan (@michiboo) #1983 - @morrme #1172 (comment) - Nick Negretti (@nimne) #1768 (comment) - Peter Cock (@peterjc) #898 (comment) - Sujan Dulal (@Dsujan) #2430 - Travis Wrightsman (@twrightsman) #898 (comment) - Zheng Ruan (@zruan) #898 (comment)
This pull request addresses issue #1963
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.)
Sure!! You can put my name in the NEWS and CONTRIB file!