sandialabs / UQTk

Sandia Uncertainty Quantification Toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve ImportError messages

padamson opened this issue · comments

The import exception messages aren't always accurate. It would be better to have something like:

try:
    from . import bcs
except ImportError as ie:
    print('PyUQTk SWIG bcs interface not imported.', ie)

Hi @padamson ,

Thanks again for your suggestion. We incorporated your recommendation in recent updates to the repo, and we will continue paying attention to this.
Thanks again for your contributions!