def generate(program_run_ids): __prepare(program_run_ids) program_runs = {} for program_run_id in program_run_ids: program_report.generate_for_completed(program_run_id) # recreate reports program_runs[program_run_id] = program_report.get_run_data(program_run_id) __create_page(program_runs)
def generate(program_run_ids): __prepare(program_run_ids) program_runs = {} for program_run_id in program_run_ids: program_report.generate_for_completed( program_run_id) # recreate reports program_runs[program_run_id] = program_report.get_run_data( program_run_id) __create_page(program_runs)
def program_reportcmd(action, program_run_id): if not paths.suite_defined(): return # cannot run without project env defined import program_report import combined_programs_report if action == "running": program_report.generate_for_running(program_run_id) elif action == "completed": program_report.generate_for_completed(program_run_id) elif action == "combine": combined_programs_report.generate(program_run_id.split(',')) else: program_report.list_runs() print("Generate the report with: oimp report program [running/completed/combine] [program_run_name(s)]")
def program_reportcmd(action, program_run_id): if not paths.suite_defined(): return # cannot run without project env defined import program_report import combined_programs_report if action == "running": program_report.generate_for_running(program_run_id) elif action == "completed": program_report.generate_for_completed(program_run_id) elif action == "combine": combined_programs_report.generate(program_run_id.split(',')) else: program_report.list_runs() print( "Generate the report with: oimp report program [running/completed/combine] [program_run_name(s)]" )