Skip to content

Commit

Permalink
Merge pull request #739 from padix-key/tm-score-fix
Browse files Browse the repository at this point in the history
Fix doctest
  • Loading branch information
padix-key authored Jan 22, 2025
2 parents 01212d4 + facd05c commit fab175e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/biotite/structure/tm.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def tm_score(
... reference, subject, max_iterations=1
... )
>>> print(tm_score(reference, superimposed, ref_indices, sub_indices))
0.66...
0.69...
"""
if not np.all(filter_amino_acids(reference)):
raise ValueError("Reference structure must be peptide only")
Expand Down Expand Up @@ -199,9 +199,9 @@ def superimpose_structural_homologs(
... fixed, mobile, max_iterations=1
... )
>>> print(tm_score(fixed, superimposed, fix_indices, mob_indices))
0.66...
0.69...
>>> print(rmsd(fixed[fix_indices], superimposed[mob_indices]))
0.82...
0.84...
"""
# Avoid circular imports
from biotite.structure.alphabet.i3d import to_3di
Expand Down

0 comments on commit fab175e

Please sign in to comment.