Hi,
I use openbabel (maybe 2.4.1, installed by the command: conda install -c
openbabel openbabel ) in python 3.5.5 | Annaconda 4.2.0 (64 bit), when I run
the following python code in Sublime Text 2:
import pybel as obh
string = "C(C=CC1)=C(C=1C(=O)O)O"
mol = obh.readstring("smi", string
Björn Grüning wrote:
> is there a way to suppress openbabel warnings, linke the inchi ones [1]?
> A BABL_WARNINGS Flag maybe?
In InChI format the -xw flag will suppress certain InChI warnings:
"Omitted undefined stereo";
"Charges were rearranged";
"Proton(s) added/remov
According to http://openbabel.org/wiki/Babel, you can use
---errorlevel but it seems you cannot suppress the top level errors,
only warnings and below. Alternatively, you try redirecting stderr to
/dev/null.
- Noel
2010/1/23 Björn Grüning :
> Hi,
>
> is there a way to suppress openbabel warnings,
Hi,
is there a way to suppress openbabel warnings, linke the inchi ones [1]?
A BABL_WARNINGS Flag maybe?
Thanks!
Bjoern
[1] *** Open Babel Warning in InChI code
44 :Proton(s) added/removed
--
Throughout its 18-year