Hi,

I have a c++ code that uses SmilesToMol. As soon as there is one SMILES that 
the program fails to sanitize I get an error message like this:

[13:46:35] Explicit valence for atom # 15 N, 5, is greater than permitted
terminate called after throwing an instance of 'RDKit::MolSanitizeException'
what():  N5RDKit20MolSanitizeExceptionE
Abort
and the program exits.

Is there a way to handle this error and avoid the exit? What does SmilesToMol 
returns when it fails?

Thanks a lot,

Gonzalo

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to