If you just want to ignore the error add a try...catch block around the
offending line.

Yours,

Toby Wright


On 31 May 2014 00:03, Matthew Lardy <mla...@gmail.com> wrote:

> Hi all,
>
> I am having this issue with the Java wrapper while trying to create a
> smiles string from a RWMol class object.  I don't care about trying to
> figure out what is going wrong, I just want to bypass this record without
> my application closing.  Any ideas?
>
> Here is the offending line:
>
> rdmol.MolToSmiles();
>
> The error:
>
> Exception in thread "main" org.RDKit.MolSanitizeException
>     at org.RDKit.RDKFuncsJNI.RWMol_MolFromSmiles__SWIG_3(Native Method)
>     at org.RDKit.RWMol.MolFromSmiles(RWMol.java:422)
>
> Thanks in advance!
> Matt
>
>
> ------------------------------------------------------------------------------
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to