Hi there, I wonder if there is an easy way to suppress the standard output and standard error from RDkit. For example:
from rdkit import Chem smart = '[#6]1(:[#6]:[#6]:[#6]2:[#6](:[#6]:1):[#6]:[#6]:[#6]:[#6]:2)-[#8,#6]' mol = Chem.MolFromSmarts(smart) Chem.SanitizeMol(mol) This will produce the warning message: [15:52:25] Explicit valence for atom # 3 C, 5, is greater than permitted I would like to suppress this message. Is there any way to do it? Thanks, Gaetano ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss