def delete_attribute(halo, attribute):
    """
    Delete attribute from halo object.

    Parameters
    ----------
    halo : Halo object
        The Halo object to be provided by the HaloCatalog.
    attribute : string
        The attribute to be deleted.

    """
    if hasattr(halo, attribute):
        delattr(halo, attribute)
