Re: [Rdkit-discuss] MolToMolBlock problem

2023-02-22 Thread Ling Chan
Please ignore the "conda update" question in my previous email. Problem solved. Thank you! > HOWEVER, I would also need some advice. When I was in my original rdkit environment, I did a "conda update rdkit". > It downloaded many packages, installed many, removed some. But at the end of the

Re: [Rdkit-discuss] MolToMolBlock problem

2023-02-22 Thread Wim Dehaen
Hi all, No error on rdkit 2022.09.04 boost 1_78 (Ubuntu 20.04). However I am able to reproduce the error on 2022.03.2, here it is: Invariant Violation no eligible neighbors for chiral center Violation occurred on line 238 in file

Re: [Rdkit-discuss] MolToMolBlock problem

2023-02-22 Thread Ling Chan
Hello Greg, Indeed it was the RDKit version. I was using 2021.03.4. Sorry about the false alarm! The error message was as below. When I use 2022.09.4, there was no problem. HOWEVER, I would also need some advice. When I was in my original rdkit environment, I did a "conda update rdkit". It

Re: [Rdkit-discuss] MolToMolBlock problem

2023-02-22 Thread Greg Landrum
Hi Ling, I can't reproduce this problem on windows using the most recent version of the RDKit. Which version of the RDKit are you using and how did you install it? Please also share exactly what you see for an error message. -greg On Tue, Feb 21, 2023 at 7:03 AM Ling Chan wrote: > Dear

[Rdkit-discuss] MolToMolBlock problem

2023-02-20 Thread Ling Chan
Dear colleagues, Don't know if this is a bug, or if my input molecule is not good. I suspect that it is the former. If you run the following on the file "full.sdf", it will crash at the MolToMolBlock line. for m1 in Chem.SDMolSupplier(inputsdf, removeHs=False): m2=Chem.RemoveHs(m1)