Fix program exit (#254)

single_channel
Antonio Zarauz Moreno 2 years ago committed by GitHub
parent 53fa0f4550
commit 55b313b167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -71,7 +71,7 @@ def check_config_mismatch(overrides, cfg):
for option in mismatched: for option in mismatched:
LOGGER.info(f"{colorstr(option)} is not a valid key. Similar keys: {get_close_matches(option, cfg, 3, 0.6)}") LOGGER.info(f"{colorstr(option)} is not a valid key. Similar keys: {get_close_matches(option, cfg, 3, 0.6)}")
if mismatched: if mismatched:
exit() sys.exit()
hydra._internal.config_loader_impl.ConfigLoaderImpl._apply_overrides_to_config = override_config hydra._internal.config_loader_impl.ConfigLoaderImpl._apply_overrides_to_config = override_config

Loading…
Cancel
Save