Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No swarms generated when only restraints in ligand provided #8

Closed
brianjimenez opened this issue Aug 31, 2020 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@brianjimenez
Copy link
Member

Describe the bug
During setup and if only ligand restraints are provided, setup finishes generating 0 swarms.

To Reproduce
In restraints.list file, only provide ligand restraints for a given complex.

Expected behavior
Setup should generate swarms independently of ligand restraints provided.

@brianjimenez brianjimenez added the bug Something isn't working label Aug 31, 2020
@brianjimenez brianjimenez self-assigned this Aug 31, 2020
@brianjimenez
Copy link
Member Author

Bug was introduced in 8e3d147 in file lightdock/prep/poses.py in line 212:

if not blocking_restraints:
    return new_swarm_centers

This should also account for receptor_restraints if empty.

brianjimenez added a commit that referenced this issue Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant