Dear Goutam,

Probably you’re getting this error because you did not import the module 
correctly. If you use "from rdkit.Chem import Crippen” and replace 
"rdkit.Chem.Crippen.MolLogP(mol)” with "Crippen.MolLogP(mol)”, it should work 
properly.

Best regards,

Lorenzo Fabbri, M.Sc.
----------------------

Academic e-mail: lorenzo.fabbr...@studenti.unitn.it
Personal e-mail: lorenzo_fabbr...@icloud.com
Website: https://lorenzo-fabbri-92.netlify.com
On Nov 4, 2019, 2:50 PM +0100, Goutam Mukherjee <cyz078...@gmail.com>, wrote:
> Dear Members,
>
> I want to calculate molar refractivity and logP values by using Crippen 
> module of rdKit.
> https://www.rdkit.org/docs/source/rdkit.Chem.Crippen.html
>
> Could any one please help me how do I calculate the same.
>
> When I used the command,
> ligand_pdb = "test.pdb"
> mol=Chem.MolFromPDBFile(ligand_pdb)
> rdkit.Chem.Crippen.MolLogP(mol)
>
> It says that,
> AttributeError: module 'rdkit.Chem' has no attribute 'Crippen'
>
> How do I overcome this?
>
> Thanks for your help,
> Goutam
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to