Hi Hongbin,

Try configuring

extension-pkg-whitelist=rdkit 

Then pylint should recognise RDKit methods.

Cheers,
p.

> On 12 Oct 2019, at 08:12, Hongbin Yang <yanyangh...@163.com> wrote:
> 
> Dear RDKit users,
> 
> Does any one use vscode with pylint support? 
> In my IDE, it hints me that "Module 'rdkit.Chem' has no 'MolFromSmiles' 
> member." where there is a red wavy line under the code "Chem". The 
> environment of conda/python is correctly configured and the scripts can run.
> 
> I know that it may be caused by the fact that some modules and functions in 
> RDKit are just wrappers of C++, so pylint may not have recognized these 
> modules or functions. 
> 
> But the red wavy line is really offending. Is there any suggestions in 
> addition to disabling pylint?
> 
> Best regards,
> 
> Hongbin Yang 杨弘宾, Ph.D.
> Research: Toxicophore and Chemoinformatics
> _______________________________________________
> 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