def _load_methods(package):
global _methods<EOL>_methods[package] = None<EOL>from acorn.config import settings<EOL>from acorn.logging.descriptors import _obj_getattr<EOL>spack = settings(package)<EOL>if spack is not None:<EOL><INDENT>if spack.has_section("<STR_LIT>"):<EOL><INDENT>_methods[package] = {}<EOL>from importlib import import_module<EOL>mappings = dict(spack.items("<STR_LIT>"))<EOL>for fqdn, target in mappings.items():<EOL><INDENT>rootname = target.split('<STR_LIT:.>')[<NUM_LIT:0>]<EOL>root = import_module(rootname)<EOL>caller = _obj_getattr(root, target)<EOL>_methods[package][fqdn] = caller<EOL><DEDENT><DEDENT><DEDENT>
Loads the mappings from method call result to analysis.

    Args:
        package (str): name of the package to load for.