Thanks Joel,
That's really helpful. Armed with that information, I was able to dig
further into the source code and find some unit tests that do very similar
to what you have set up, but within a context manager. Hopefully the mail
client won't mangle the formatting.
Cheers,
Dave
#!/usr/bin/en
I've changed my strategy a few times. I'll share my most recent approach,
quite possibly this is flawed, but for now it works for me. Fixes and
corrections welcome.
I think these are all the relevant bits below...
...
... other stuff, import rdkit, etc...
...
# fancy foot work to capture RDKIT me
Hi,
I'd like to be able to redirect the various logging streams to files from
within the code. I know that I can turn them off:
RDLogger.DisableLog('rdApp.*')
but that's more extreme than I want.
I have found the function RDLogger.AttachFileToLog() but can't work out how
to use it. The naive
R
3 matches
Mail list logo