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

Fixed MODEL line bug when model number > 10 #54

Closed JoaoRodrigues closed 4 years ago

JoaoRodrigues commented 4 years ago

Small bug in pdb_mkensemble that placed the model number at the wrong column. Splitting with pdb_splitmodel in an ensemble of more than 10 models would yield always 10 models (only reading the last digit).

codecov[bot] commented 4 years ago

Codecov Report

Merging #54 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #54   +/-   ##
=======================================
  Coverage   81.74%   81.74%           
=======================================
  Files          44       44           
  Lines        3538     3538           
  Branches      743      743           
=======================================
  Hits         2892     2892           
  Misses        456      456           
  Partials      190      190           
Impacted Files Coverage Δ
pdbtools/pdb_mkensemble.py 96.61% <100.00%> (ø)

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 09a354e...23f283c. Read the comment docs.