core.module_management.load_mercury_module

core.module_management.load_mercury_module(path_module=None, module_name=None)

Used to load a Mercury module with the path to modules and its names.

Parameters:
  • path_module (posix path or string)

  • module_name (string) – can be of the form “CM” for the module without flavour or “FP|L1” for a module with flavour. See find_actual_module_name for more details.

Returns:

cred – attributes can be loaded with cred.__getattribute__(‘attribute_name’)

Return type:

module