Re: [Rdkit-devel] Python vs C++ exceptions
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: <gi...@gm...> - 2010-12-13 18:37:13
|
On Mon, Dec 13, 2010 at 5:14 PM, Greg Landrum <gre...@gm...> wrote:
> #--------
>
> supplier = Chem.SDMolSupplier('foo.sdf')
> for mol in supplier:
> if mol is None: continue
> #otherwise do whatever you need to do with the molecule.
Thanks, that's what I ended up doing.
If you think it's technically doable and see value in explicitly
forwarding the exception, I could report this in the tracker,
otherwise, let's move on :-)
--
Gianluca Sforna
http://morefedora.blogspot.com
http://identi.ca/giallu - http://twitter.com/giallu
|