Open wmhcqw opened 1 year ago
Not without a slight modification to the source, but it should be fairly straightforward if you're comfortable with Python. This is one of a couple hardcoded print statements: https://github.com/connorcoley/rdchiral/blob/b8cd87e6d8b8c877fa5712e25e0b6ccadeb169d2/rdchiral/template_extractor.py#L806
I'm using Jupyter Notebook with Multiprocessing Pool method to extract templates from reactions. But the log like this keep coming out and finally forced my jupyter notebook to be shut down.
Is there any way to disable logs, something like rdkit's
RDLogger.disable("rdApp.*")
?