def load_configuration():
(belbio_conf_fp, belbio_secrets_fp) = get_belbio_conf_files()<EOL>log.info(f"<STR_LIT>")<EOL>config = {}<EOL>if belbio_conf_fp:<EOL><INDENT>with open(belbio_conf_fp, "<STR_LIT:r>") as f:<EOL><INDENT>config = yaml.load(f, Loader=yaml.SafeLoader)<EOL>config["<STR_LIT>"] = {}<EOL>config["<STR_LIT>"]["<STR_LIT>"] = belbio_conf_fp<EOL><DEDENT><DEDENT>if belbio_secrets_fp:<EOL><INDENT>with open(belbio_secrets_fp, "<STR_LIT:r>") as f:<EOL><INDENT>secrets = yaml.load(f, Loader=yaml.SafeLoader)<EOL>config["<STR_LIT>"] = copy.deepcopy(secrets)<EOL>if "<STR_LIT>" in config:<EOL><INDENT>config["<STR_LIT>"]["<STR_LIT>"] = belbio_secrets_fp<EOL><DEDENT><DEDENT><DEDENT>get_versions(config)<EOL>return config<EOL>
Load the configuration