Re: [Rdkit-discuss] invalid CTAB substructure query with PostgreSQL cartridge

2021-12-10 Thread Greg Landrum
Hi Susan, I haven't looked at the Sgroup or unsaturation flags yet (I will try to do this later today), but a word on the aromaticity/kekulization. One of the things which is going wrong here at the cartridge level is that qmol_from_ctab() is sanitizing the molecules it reads in. This is not

Re: [Rdkit-discuss] invalid CTAB substructure query with PostgreSQL cartridge

2021-12-09 Thread Paolo Tosco
Hi Susan, that looks like a bug in the way the MDL query is parsed; I have filed it here: https://github.com/rdkit/rdkit/issues/4785 If you can afford doing some Python massaging to your CTAB queries and converting them to SMARTS before submitting them to PostgreSQL when they fail sanitization,