-
Notifications
You must be signed in to change notification settings - Fork 24
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
[3] Prepare support for multiple backmapping protocols #340
base: master
Are you sure you want to change the base?
[3] Prepare support for multiple backmapping protocols #340
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall good job! Three structural comments. And then we need to fix the tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments for doc-strings otherwise looks good to me.
def __init__(self, fudge_coords=0.4, bmode='automatic', *args, **kwargs): | ||
super().__init__(*args, **kwargs) | ||
self.fudge_coords = fudge_coords | ||
self.bmode = bmode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add docstring for the two variables
This PR prepares the code to support multiple backmapping protocols with small changes. The main goal is to take out Polyply's default backmapping protocol from the 'Backmap' class and make it a standalone protocol (i.e. orient_by_bonds).