Skip to content

Fix docstring in ProteinAnalysis.secondary_structure_fraction - #1080

Merged
peterjc merged 1 commit into
biopython:masterfrom
b-carter:fix-proteinanalysis-docstring
Mar 8, 2017
Merged

peterjc merged 1 commit into
biopython:masterfrom
b-carter:fix-proteinanalysis-docstring

Conversation

@b-carter

@b-carter b-carter commented Mar 6, 2017

Copy link
Copy Markdown
Contributor

Fixes the docstring for ProteinAnalysis.secondary_structure_fraction().

The tuple returned contains float values of the fractions of amino acids contributing to each secondary structure (as computed by get_amino_acids_percent()), rather than integers.

@codecov-io

codecov-io commented Mar 6, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #1080 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1080      +/-   ##
==========================================
+ Coverage   80.76%   80.76%   +<.01%     
==========================================
  Files         322      322              
  Lines       49425    49425              
==========================================
+ Hits        39916    39918       +2     
+ Misses       9509     9507       -2
Impacted Files Coverage Δ
Bio/SeqUtils/ProtParam.py 96.11% <ø> (ø) ✅
Bio/NeuralNetwork/Gene/Schema.py 71.07% <0%> (-0.83%) ❌
Bio/GA/Evolver.py 72.72% <0%> (+18.18%) ✅

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 cddfd91...01125ea. Read the comment docs.

@peterjc

peterjc commented Mar 7, 2017

Copy link
Copy Markdown
Member

The proposed change looks good, thank you.

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? For something small like this I'd quite understand you choosing not to appear - especially if you're planning to contribute something more substantial in future.

@b-carter

b-carter commented Mar 7, 2017

Copy link
Copy Markdown
Contributor Author

Yes and yes. Though, if you more commonly don't include authors who contributed only small changes to a release, then by all means feel free to leave me out--either way is fine by me.

Glad I could help!

@peterjc
peterjc merged commit e19e9c5 into biopython:master Mar 8, 2017
peterjc added a commit that referenced this pull request Mar 8, 2017
See previous commit from pull request #1080.

Was also missing Brandon Invergo in the CONTRIB file.
MarkusPiotrowski pushed a commit to MarkusPiotrowski/biopython that referenced this pull request Oct 31, 2017
See previous commit from pull request biopython#1080.

Was also missing Brandon Invergo in the CONTRIB file.
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.

3 participants