def ObjectRemovedEventHandler(analysis, event):
    """Actions to be done when an analysis is removed from an Analysis Request
    """
    # If all the remaining analyses have been submitted (or verified), try to
    # promote the transition to the Analysis Request
    # Note there is no need to check if the Analysis Request allows a given
    # transition, cause this is already managed by doActionFor
    analysis_request = analysis.getRequest()
    wf.doActionFor(analysis_request, "submit")
    wf.doActionFor(analysis_request, "verify")
    return
def ObjectRemovedEventHandler ( analysis , event ) : analysis_request = analysis . getRequest ( ) wf . doActionFor ( analysis_request , "submit" ) wf . doActionFor ( analysis_request , "verify" ) return
Actions to be done when an analysis is removed from an Analysis Request