diff --git a/HISTORY.rst b/HISTORY.rst index 5f05915e..169fb299 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,12 @@ Release History --------------- +0.6.9 (2016-01-16) +++++++++++++++++++ +* Bugfix: fixed support for ``@ex.named_config`` (was broken by 0.6.8) +* Bugfix: fixed handling of captured functions with prefix for failing on + added unused config entries + 0.6.8 (2016-01-14) ++++++++++++++++++ * Feature: Added automatic conversion of ``pandas`` datastructures in the diff --git a/sacred/__about__.py b/sacred/__about__.py index 8d7366b3..e9cf1eb4 100644 --- a/sacred/__about__.py +++ b/sacred/__about__.py @@ -11,7 +11,7 @@ __all__ = ("__version__", "__author__", "__author_email__", "__url__") -__version__ = "0.6.8" +__version__ = "0.6.9" __author__ = 'Klaus Greff' __author_email__ = 'qwlouse@gmail.com' diff --git a/sacred/initialize.py b/sacred/initialize.py index a388ff64..dfe1ffd9 100644 --- a/sacred/initialize.py +++ b/sacred/initialize.py @@ -15,8 +15,7 @@ from sacred.utils import (convert_to_nested_dict, create_basic_stream_logger, get_by_dotted_path, is_prefix, iter_path_splits, iterate_flattened, set_by_dotted_path, - recursive_update, iter_prefixes) -from utils import join_paths + recursive_update, iter_prefixes, join_paths) __sacred__ = True # marks files that should be filtered from stack traces @@ -42,7 +41,8 @@ def __init__(self, config_scopes, subrunners, path, captured_functions, self.commands = commands self.config_mods = None self.summaries = [] - self.captured_args = {join_paths(cf.prefix, n) for cf in self._captured_functions + self.captured_args = {join_paths(cf.prefix, n) + for cf in self._captured_functions for n in cf.signature.arguments} def set_up_seed(self, rnd=None):