Skip to content

Commit

Permalink
increased heuristic distance cutoff
Browse files Browse the repository at this point in the history
  • Loading branch information
clami66 committed Aug 27, 2024
1 parent aef227f commit 558ff9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DockQ/operations.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def residue_distances(float [:,:] atom_coordinates1, float [:,:] atom_coordinate
this_d = (atom_coordinates1[x][0] - atom_coordinates2[y][0])**2 + (atom_coordinates1[x][1] - atom_coordinates2[y][1])**2 + (atom_coordinates1[x][2] - atom_coordinates2[y][2])**2
if this_d < min_d:
min_d = this_d
if min_d > 400.0:
if min_d > 1000.0:
break
if min_d > 400.0:
if min_d > 1000.0:
break
res_distances[i, j] = min_d
cum_j_atoms = cum_j_atoms + j_atoms
Expand Down

0 comments on commit 558ff9e

Please sign in to comment.