Dear Paolo,

Thank you.


The configuration can solve the problem. But after I add it to 
python->linting->Pylint Args, more (numerous) errors/warnings rush out, which 
are correct but unwanted. I guess that the configuration of "Use Minimal 
Checkers" is disabled though it is still be checked. (I don't know why)


Finally, I decide to uncheck "Whether to lint python files using pylint"  :)


Best,


Hongbin Yang 杨弘宾, Ph.D.
Research: Toxicophore and Chemoinformatics

On 10/12/2019 14:35,Paolo Tosco<paolo.tosco.m...@gmail.com> wrote:
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