mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
Fixes #2420 Tests updated to reflect changes. The existing CompleteRingsOnly code wasn't actually guaranteeing CompleteRingsOnly at all, it was just causing #2420. The updated code actually makes sure that bonds that were ring bonds in one of the queries are ring bonds in the final MCS. This is done via a relatively simple DFS.