Closed gpatbrady closed 2 years ago
Or a way to suppress this output altogether would be great.
@gpatbrady, those messages are coming from the RDKit core. The incantation to disable the RDKit info log is:
from rdkit import RDLogger
RDLogger.DisableLog("rdApp.info")
Oh sweet; I'll give that a shot! Thanks! Pat
On Mon, Feb 21, 2022, 1:01 AM Greg Landrum @.***> wrote:
@gpatbrady https://github.com/gpatbrady, those messages are coming from the RDKit core. The incantation to disable the RDKit info log is:
from rdkit import RDLogger RDLogger.DisableLog("rdApp.info")
— Reply to this email directly, view it on GitHub https://github.com/chembl/ChEMBL_Structure_Pipeline/issues/36#issuecomment-1046501639, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVLNUDN4OB5ZAG5BGKCMJDU4HIMBANCNFSM5O5JM5WA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Thank you for this pipeline; very helpful! I am writing a python command line wrapper to some of this functionality and it appears to me that some of the "runtime" info that ought to be sent to stderr is being sent to stdout. I'm using the standardize() and get_parent_mol() functions in particular, and my output (to stdout) is being polluted with e.g. stuff like
[21:22:44] Initializing Normalizer [21:22:44] Running Uncharger [21:22:44] Running Uncharger [21:22:44] Running Normalizer [21:22:44] Running Uncharger [21:22:44] Running Uncharger [21:22:44] Running Uncharger
Cheers, pat