clean_up#
- clean_up(domain, reset_boundary_cache=False)#
Perform clean up operations on the domain after a spatial analysis method is called. This includes deleting temporary boundary shapes and optionally resetting the boundary shape cache.
- Parameters:
- domainobject
The domain containing collections and networks to be cleaned up.
- reset_boundary_cachebool, optional
If True, reset the boundary shape cache. Defaults to False.
Notes
This function is intended to be called after spatial analyses that may create temporary objects or collections. It ensures that the domain remains clean and free of temporary data that is no longer needed.