def run_analyses(prepared_analyses=None,log_dir=default_log_dir):
    """
        If all defaults are ok, this should be the only function needed to run the analyses.
    """
    if prepared_analyses == None:
        prepared_analyses = prepare_analyses()
    state_collection = funtool.state_collection.StateCollection([],{})
    for analysis in prepared_analyses:
        state_collection= funtool.analysis.run_analysis(analysis, state_collection, log_dir)
    return state_collection
def run_analyses ( prepared_analyses = None , log_dir = default_log_dir ) : if prepared_analyses == None : prepared_analyses = prepare_analyses ( ) state_collection = funtool . state_collection . StateCollection ( [ ] , { } ) for analysis in prepared_analyses : state_collection = funtool . analysis . run_analysis ( analysis , state_collection , log_dir ) return state_collection
If all defaults are ok, this should be the only function needed to run the analyses.