load_domain#

load_domain(path_to_domain, print_summary=True, print_metadata=False)#

Load a domain object from a file. The domain object is saved as a pickle file.

Parameters:
path_to_domainstr

Path to the domain file with a .muspan extension.

print_summarybool, optional

If True, prints a summary of the loaded domain object (default is True).

print_metadatabool, optional

If True, prints a summary of the metadata of the domain object (default is True).

Returns:
object

The loaded domain object.

Raises:
ValueError

If path_to_domain is not a string or does not end with ‘.muspan’.