From facd05caa32e4d3e11c07bf4ed2376bf153b23de Mon Sep 17 00:00:00 2001 From: Patrick Kunzmann Date: Mon, 20 Jan 2025 11:27:42 +0100 Subject: [PATCH] Fix doctest --- src/biotite/structure/tm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/biotite/structure/tm.py b/src/biotite/structure/tm.py index 48fcd2132..2b45e46c9 100644 --- a/src/biotite/structure/tm.py +++ b/src/biotite/structure/tm.py @@ -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") @@ -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