fix rec doc typo
@@ -114,7 +114,7 @@ def merge_config(config):
global_config[key] = value
else:
sub_keys = key.split('.')
- assert (sub_keys[0] in global_config)
+ assert (sub_keys[0] in global_config), "the sub_keys can only be one of global_config: {}, but get: {}, please check your running command".format(global_config.keys(), sub_keys[0])
cur = global_config[sub_keys[0]]
for idx, sub_key in enumerate(sub_keys[1:]):
assert (sub_key in cur)
