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

MMP Fragmentation nodes threshold filtering is incorrect #20

Open
sroughley opened this issue May 9, 2023 · 0 comments
Open

MMP Fragmentation nodes threshold filtering is incorrect #20

sroughley opened this issue May 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sroughley
Copy link
Member

The calculation of the complexity cutoff threshold is incorrect when molecules are not including a single cut fragmentation.

The code at

numberOfFragmentations += matchingBondCount;
// Each 1-bond cut can be either way around...
numberOfFragmentations *= 2;
should only be executed when minCuts == 1

@sroughley sroughley added the bug Something isn't working label May 9, 2023
@sroughley sroughley self-assigned this May 9, 2023
sroughley added a commit that referenced this issue May 15, 2023
Bug Fixes
* Fixes error in complexity estimation when a single bond cut is not
being made (See #20)
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