snap-stanford / ogb

Benchmark datasets, data loaders, and evaluators for graph machine learning
https://ogb.stanford.edu
MIT License
1.89k stars 398 forks source link

Includes better error handling when import smiles2graph #182

Closed vapolonio closed 3 years ago

vapolonio commented 3 years ago

While I was trying set up the dataset for the competition and ran into some issues importing the pcqm4m because my local instalation of the rdkit library didn't worked and I couldn't identify this because the error were being omitted. Well I put a explicit handling for this case.

weihua916 commented 3 years ago

Thanks for the pull request. Although this makes sense, this will print the error message even if one is not working on the molecule data. As pcqm4m is the only dataset that has the dependency on rdkit, we do not want to print the error message for all ogb users.