Skip to content

Commit

Permalink
Addresses issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjimenez committed Aug 31, 2020
1 parent 625a43b commit a5e5cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightdock/prep/poses.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def apply_restraints(swarm_centers, receptor_restraints, blocking_restraints,
# Final filtered list of swarms
new_swarm_centers = [swarm_centers[i] for i in closer_swarm_ids]

if not blocking_restraints:
if not blocking_restraints and receptor_restraints:
return new_swarm_centers
else:
# We need to distinguish between two cases:
Expand Down

0 comments on commit a5e5cad

Please sign in to comment.