diff --git a/radvel/__init__.py b/radvel/__init__.py index 9a1e31bb..e7b3d136 100644 --- a/radvel/__init__.py +++ b/radvel/__init__.py @@ -29,7 +29,7 @@ def _custom_warningfmt(msg, *a, **b): __all__ = ['model', 'likelihood', 'posterior', 'mcmc', 'prior', 'utils', 'fitting', 'report', 'cli', 'driver', 'gp'] -__version__ = '1.4.3' +__version__ = '1.4.4' __spec__ = __name__ __package__ = __path__[0] diff --git a/radvel/driver.py b/radvel/driver.py index 74e53689..63d3a2b1 100644 --- a/radvel/driver.py +++ b/radvel/driver.py @@ -24,6 +24,7 @@ import ConfigParser as configparser else: import configparser + from configparser import NoSectionError def plots(args): @@ -584,7 +585,7 @@ def report(args): derived = False try: compstats = eval(status.get('ic_compare', 'ic')) - except KeyError: + except (KeyError, NoSectionError): print("WARNING: Could not find {} model comparison \ in {}.\nPlease make sure that you have run `radvel ic -t {}` (or, e.g., `radvel \ ic -t nplanets e trend jit gp`)\