Skip to content

Commit

Permalink
fix smat bug
Browse files Browse the repository at this point in the history
  • Loading branch information
clbarnes committed Feb 19, 2024
1 parent 4f32627 commit 9e841d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nblast-py/python/pynblast/score_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
self.dot_thresholds = np.asarray(dot_thresholds, np.float64).flatten()
self.values = np.asarray(values, np.float64)

exp_shape = (len(self.dist_thresholds) - 1, len(dot_thresholds) - 1)
exp_shape = (len(self.dist_thresholds) - 1, len(self.dot_thresholds) - 1)
if self.values.shape != exp_shape:
raise ValueError(
"For N dist_thresholds and M dot_thresholds, values must be (N-1)x(M-1)"
Expand Down

0 comments on commit 9e841d3

Please sign in to comment.