Skip to content

Improvements to PDBIO - #3679

Merged
JoaoRodrigues merged 2 commits into
biopython:masterfrom
JoaoRodrigues:pdbio_improvements
Aug 4, 2021
Merged

JoaoRodrigues merged 2 commits into
biopython:masterfrom
JoaoRodrigues:pdbio_improvements

Conversation

@JoaoRodrigues

Copy link
Copy Markdown
Member

Make error messages clearer by specifying the offending atom(s). In
addition, improve performance by accessing class attributes directly
instead of using get_xxx() methods.

Closes #3438.

  • 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.rst file, have run pre-commit locally,
    and understand that AppVeyor and TravisCI will be used to confirm the Biopython unit
    tests and style checks pass with these changes.

  • I have added my name to the alphabetical contributors listings in the files
    NEWS.rst and CONTRIB.rst as part of this pull request, am listed
    already, or do not wish to be listed. (This acknowledgement is optional.)

Make error messages clearer by specifying the offending atom(s). In
addition, improve performance by accessing class attributes directly
instead of using get_xxx() methods.

Closes biopython#3438.
@JoaoRodrigues JoaoRodrigues mentioned this pull request Aug 1, 2021
3 tasks done
@codecov

codecov Bot commented Aug 1, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #3679 (53add99) into master (f3095f3) will decrease coverage by 1.70%.
The diff coverage is 88.73%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3679      +/-   ##
==========================================
- Coverage   83.60%   81.90%   -1.71%     
==========================================
  Files         316      296      -20     
  Lines       52496    49373    -3123     
==========================================
- Hits        43888    40437    -3451     
- Misses       8608     8936     +328     
Impacted Files Coverage Δ
Bio/PDB/PDBIO.py 83.44% <88.40%> (+1.39%) ⬆️
Bio/PDB/PDBExceptions.py 100.00% <100.00%> (ø)
Bio/Phylo/CDAOIO.py 4.46% <0.00%> (-80.36%) ⬇️
Bio/phenotype/pm_fitting.py 12.28% <0.00%> (-75.44%) ⬇️
Bio/PDB/mmtf/__init__.py 28.57% <0.00%> (-61.91%) ⬇️
Bio/Graphics/__init__.py 25.00% <0.00%> (-58.34%) ⬇️
Bio/Phylo/CDAO.py 42.85% <0.00%> (-57.15%) ⬇️
Bio/Phylo/_utils.py 25.00% <0.00%> (-52.41%) ⬇️
Bio/codonalign/codonseq.py 44.16% <0.00%> (-44.31%) ⬇️
Bio/Phylo/_cdao_owl.py 89.47% <0.00%> (-10.53%) ⬇️
... and 28 more

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 f3095f3...53add99. Read the comment docs.

@JoaoRodrigues
JoaoRodrigues requested a review from peterjc August 2, 2021 21:54
@JoaoRodrigues

Copy link
Copy Markdown
Member Author

@rob-miller , if you could have a look to make sure things seem alright (I changed one of your tests), that would be great!

@rob-miller

rob-miller commented Aug 3, 2021 via email

Copy link
Copy Markdown
Contributor

@JoaoRodrigues

Copy link
Copy Markdown
Member Author

Issues with accessing the file on Windows.

@JoaoRodrigues
JoaoRodrigues merged commit be77131 into biopython:master Aug 4, 2021
@JoaoRodrigues
JoaoRodrigues deleted the pdbio_improvements branch August 4, 2021 23:53
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.

PDBIo error when saving chain with more than one character

2 participants