[Open Babel] Openbabel warnings

2018-07-30 Thread whustudent
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

Re: [Open Babel] OpenBabel Warnings

2010-01-24 Thread Chris Morley
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

Re: [Open Babel] OpenBabel Warnings

2010-01-24 Thread Noel O'Boyle
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,

[Open Babel] OpenBabel Warnings

2010-01-24 Thread Björn Grüning
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