Closed mattwthompson closed 1 month ago
Looks like this is getting cheminformatics-y. Mind if I switch this on to my plate to dig into the changes?
Please feel free to! I think it might come down to why the behavior around https://github.com/openforcefield/openff-toolkit/pull/1942#discussion_r1786378162 changed in some of the matrix but not the rest. I'm happy to wash my hands of this if you think you can read the tea leaves
Cool, I'll take this over then!
The molecules that are newly failing (er, passing) stereo tests are somewhat exotic rings with nitrogens. Loading both with RDKit 2022 leads to undefined stereo errors on nitrogens[1], but not any more in RDKit 2024. Without fully delving into the context of all our past decisions about interop, raising fewer stereo errors here is a GOOD thing, since the molecules are 3D to begin with, so the idea that they're missing stereo is nonsensical. So I have no hesitation removing molecules from this xfail list.
[1]
openff.toolkit.utils.exceptions.UndefinedStereochemistryError: Unable to make OFFMol from RDMol: RDMol has unspecified stereochemistry. RDMol name: DrugBank_7124Undefined chiral centers are:
- Atom N (index 43)
I'll consider my final round of cleanups to be equivalent to my review and will merge this PR once I've made them.
Great - removing skipped molecules meshes with my surface-level understanding of those "failures" being improvements
Work around