haddocking / pdb-tools

A dependency-free cross-platform swiss army knife for PDB files.
https://haddocking.github.io/pdb-tools/
Apache License 2.0
378 stars 113 forks source link

Reset residue numbering for each model #61

Closed rvanasa closed 4 years ago

rvanasa commented 4 years ago

Since large ensembles tend to surpass 9999 overall residues, I tweaked pdb_reres so that the numbering scheme will reset between models. Since pdb_reatom already does this for each model, this would also help improve consistency between scripts.

JoaoRodrigues commented 4 years ago

Hi @rvanasa , thanks for the contribution!

Makes sense indeed. Would you mind fixing that flake8 issue that is breaking the tests?

codecov[bot] commented 4 years ago

Codecov Report

Merging #61 into master will decrease coverage by 0.04%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage   81.74%   81.69%   -0.05%     
==========================================
  Files          44       44              
  Lines        3538     3540       +2     
  Branches      743      744       +1     
==========================================
  Hits         2892     2892              
- Misses        456      457       +1     
- Partials      190      191       +1     
Impacted Files Coverage Δ
pdbtools/pdb_reres.py 85.71% <33.33%> (-1.93%) :arrow_down:

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 061e1b7...d017f16. Read the comment docs.

JoaoRodrigues commented 4 years ago

Merged. Thank you again!