Skip to content

Commit

Permalink
Merge pull request #735 from padix-key/tm-score
Browse files Browse the repository at this point in the history
Improve error message in `align_structural_homologs()`
  • Loading branch information
padix-key authored Jan 18, 2025
2 parents c0a1b93 + d6cefcd commit f76c01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biotite/structure/tm.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def _mask_by_d0_threshold(fixed_ca_coord, mobile_ca_coord, reference_length):
"""
mask = distance(fixed_ca_coord, mobile_ca_coord) < _d0(reference_length)
if not np.any(mask):
raise ValueError("No anchors found")
raise ValueError("No anchors found, the structures are too dissimilar")
return mask


Expand Down

0 comments on commit f76c01c

Please sign in to comment.