Skip to content

Improve ring-break merge detection and expose RDKit MCS kwargs - #542

Merged
lohedges merged 3 commits into
develfrom
fix_ring_break_merge
Jul 29, 2026
Merged

Improve ring-break merge detection and expose RDKit MCS kwargs#542
lohedges merged 3 commits into
develfrom
fix_ring_break_merge

Conversation

@lohedges

Copy link
Copy Markdown
Contributor

This PR fixes a small issue with the ring-break merge detection code where changes in unrelated rings triggered a ring-break warning, i.e. removing one ring and growing another.

The PR also exposes a new mcs_kwargs option, allowing the user to tune the options used for the underlying RDKit MCS search. This is useful for certain perturbations, where the default FESetup-inspired options are not ideal. I've also added a function to expose the default options such that a user can use these as a base, or compare with them. Previously this was hidden internally, so a user wouldn't actually know what was set.

  • I confirm that I have merged the latest version of devel into this branch before issuing this pull request (e.g. by running git pull origin devel): [y]
  • I confirm that I have permission to release this code under the GPL3 license: [y]

@lohedges lohedges added bug Something isn't working enhancement New feature or request labels Jul 29, 2026
@lohedges
lohedges temporarily deployed to biosimspace-build July 29, 2026 17:06 — with GitHub Actions Inactive
@lohedges
lohedges temporarily deployed to biosimspace-build July 29, 2026 17:06 — with GitHub Actions Inactive
@lohedges
lohedges temporarily deployed to biosimspace-build July 29, 2026 17:06 — with GitHub Actions Inactive
@lohedges
lohedges temporarily deployed to biosimspace-build July 29, 2026 17:06 — with GitHub Actions Inactive
@lohedges
lohedges temporarily deployed to biosimspace-build July 29, 2026 17:06 — with GitHub Actions Inactive
@lohedges
lohedges merged commit 73342c7 into devel Jul 29, 2026
5 checks passed
@lohedges
lohedges deleted the fix_ring_break_merge branch July 29, 2026 17:58
@lohedges lohedges changed the title Improve ring-break merge dection and expose RDKit MCS kwargs Improve ring-break merge detection and expose RDKit MCS kwargs Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant