File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ dependencies:
7979 - conda-forge::gprof2dot
8080 - conda-forge::numdifftools
8181 - conda-forge::quantities
82- - conda-forge::muq
8382 - conda-forge::lpsolve55
8483 - conda-forge::ringdecomposerlib-python
8584
Original file line number Diff line number Diff line change @@ -1274,8 +1274,11 @@ def run_uncertainty_analysis(self):
12741274 if self .uncertainty is not None and self .uncertainty ["global" ]:
12751275 try :
12761276 import muq
1277- except ImportError :
1278- logging .error ("Unable to import MUQ. Skipping global uncertainty analysis." )
1277+ except ImportError as ie :
1278+ logging .error (
1279+ f"Skipping global uncertainty analysis! Unable to import MUQ (original error: { str (ie )} )."
1280+ "Install muq with 'conda install -c conda-forge muq'."
1281+ )
12791282 self .uncertainty ["global" ] = False
12801283 else :
12811284 import re
You can’t perform that action at this time.
0 commit comments