diff --git a/pypesto/profile/options.py b/pypesto/profile/options.py index ca24db7bb..cc8621211 100644 --- a/pypesto/profile/options.py +++ b/pypesto/profile/options.py @@ -66,6 +66,8 @@ def __init__( self.magic_factor_obj_value = magic_factor_obj_value self.whole_path = whole_path + self.validate() + def __getattr__(self, key): """Allow usage of keys like attributes.""" try: