cbouy / mols2grid

Interactive molecule viewer for 2D structures
https://mols2grid.readthedocs.io
Apache License 2.0
207 stars 25 forks source link

Update Google Colab exception to catch ImportError #11

Closed JustinChavez closed 3 years ago

JustinChavez commented 3 years ago

@cbouy For cases where the module google exists, but colab is not installed, an ImportError is raised instead of a ModuleNotFoundError. Updating the catch to include that error.

Encountered this when running mols2grid on streamlit. This fix solved the issue.

cbouy commented 3 years ago

Hi @JustinChavez and sorry for the delay Thank you for this fix! 👍