コード例 #1
0
def experiments_processor(path, prefix):
    path = utils.folder_forward_slash(path)
    directory_files = os.listdir(path)
    directory_files.sort()
    results = dict()
    for f in directory_files:
        if f.startswith(prefix):
            experiment_values = process_file("{0}{1}".format(path, f))
            results = update_results(results, experiment_values)
    save_results(results, path, prefix)
コード例 #2
0
def results_processor(path):
    path = utils.folder_forward_slash(path)
    ivf_results = process_file("{0}{1}".format(path, IVF_RESULTS))
    ga_results = process_file("{0}{1}".format(path, GA_RESULTS))
    save_final_results(ivf_results, ga_results, path)