Skip to content

Commit

Permalink
Test restraints closer 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahbaumann committed Dec 20, 2024
1 parent 153ffec commit 9efab61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openfe/protocols/openmm_septop/femto_restraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,8 @@ def check_receptor_idxs(
]
r3_distance_avg = numpy.stack(r3_distances_per_frame).mean(axis=0)

max_distance = 0.8 * (receptor.unitcell_lengths[-1][0] / 2)
max_distance = 0.5 * (receptor.unitcell_lengths[-1][0] / 2)
print(max_distance)
is_valid_distance = r3_distance_avg.max(axis=-1) < max_distance
print(is_valid_r1, is_valid_r2, is_valid_r3, is_valid_distance)

Expand Down

0 comments on commit 9efab61

Please sign in to comment.