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

Bugfix for RosettaCM and branched glycans #221

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nikoniko90
Copy link
Member

RosettaCM, with a branched glycan ligand, was segfaulting. In 2 locations, the "previous residue" of the given polymer entity was selected by choosing the position prior to the one in question, which is not appropriate for a branched glycan. The fix was to set a conditional for carbohydrates that uses conformation::carbohydrates::find_seqpos_of_saccharides_parent_residue to find the previous residue.

@roccomoretti
Copy link
Member

Please use the ../tools/python_cc_reader/beautify_changed_files_in_branch.py script to adjust the formatting of the code -- right now it looks like your IDE reindented everything, which causes the PR diff to be rather extensive.

@nikoniko90
Copy link
Member Author

Thanks Rocco. Beautifier has been run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants