Hi JP,
I had the same problem the other day. My blind guess is that the error is
related to the newest rdkit version. However, using "suppl =
Chem.SDMolSupplier("test.sdf")" worked for me.
Can someone please remind me what the difference is between
FowardSDMolSupplier and SDMolSupplier?

Cheers,
Simone


On 14 May 2013 14:43, JP <jeanpaul.ebe...@inhibox.com> wrote:

> On:
>
> jpebe@ned:~/dphil/ligity_vs_es_tests$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 12.04.2 LTS
> Release: 12.04
> Codename: precise
>
> Fresh rdkit install via:
>
> sudo apt-get install python-rdkit librdkit1 rdkit-data
>
> Gives:
>
> >>> import rdkit
> >>> from rdkit import Chem
> >>> s = Chem.ForwardSDMolSupplier('test.sdf')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'ForwardSDMolSupplier'
> >>>
>
> Any ideas?
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>


-- 
Dr. Simone Fulle
Post-doctoral Researcher

InhibOx, Ltd
Oxford Centre for Innovation, Suites F14-F16
New Road
Oxford, OX1 1BY, UK
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to