catch_module_not_found

openpnm.utils.misc.catch_module_not_found(function)[source]

A decorator that wraps the passed in function and catches ModuleNotFound exception.