User cdd15e6bb1
31-10-2011 15:47:17
Hi, is there a way to suppress information messages from molecule.toFormat() ?
(e.g. Omitted undefined stereo)
User cdd15e6bb1
31-10-2011 15:47:17
Hi, is there a way to suppress information messages from molecule.toFormat() ?
(e.g. Omitted undefined stereo)
ChemAxon 25dcd765a3
01-11-2011 16:54:38
Could you send me an example?
User cdd15e6bb1
02-11-2011 13:30:21
volfi wrote: |
Could you send me an example? |
For example :
String tmpInchi = molecule.toFormat("inchi:key,AuxNone");
in console it gives out various informational messages, like i mentioned in the first post.
is there a way to turn off these messages/warnings, so everything operates in silent mode, or
redirect them not by intercepting system.out stream but in a reasonable manner?
ChemAxon 0a9e2a55e1
02-11-2011 13:47:56
Hi,
We already have a request about an option for not displaying these messages, it is currently planned for 5.8 .
Until then these messages are written to System.err, so as a quick fix, if You do not need any error messages, You can redirect it and use only the stream on System.out.
Best Regards,
Peter
User e779d19ce5
13-12-2012 17:35:53
pvadasz wrote: |
We already have a request about an option for not displaying these messages, it is currently planned for 5.8 . |
This behavior is still present in 5.11
ChemAxon d26931946c
14-12-2012 09:24:04
Hi,
We have introduced "Woff" export options to stop warning messages during InChi export in 5.8.
So instead of
kicek wrote: |
String tmpInchi = molecule.toFormat("inchi:key,AuxNone"); |
you should write
String tmpInchi = molecule.toFormat("inchi:key,AuxNone,Woff");
I'm sorry for not notifying you about this any sooner.
Best regards,
Peter