cmssw_version = cmsswver, tarfile = tarfile, # min_completion_fraction = 0.90, # min_completion_fraction = 0.84, publish_to_dis = True, snt_dir = True, special_dir = "run2_mc2017/", ) tasks.append(task) return tasks if __name__ == "__main__": for i in range(10000): total_summary = {} total_counts = {} tasks = [] tasks.extend(get_tasks()) for task in tasks: dsname = task.get_sample().get_datasetname() try: if not task.complete(): task.process() except: traceback_string = traceback.format_exc() print "Runtime error:\n{0}".format(traceback_string) send_email(subject="metis error", body=traceback_string) total_summary[dsname] = task.get_task_summary() StatsParser(data=total_summary, webdir="~/public_html/dump/metis/", make_plots=False).do() time.sleep(1.*3600)
cmssw_version = cmsswver, tarfile = tarfile, special_dir = "run2_moriond17_cms4/ProjectMetis", # min_completion_fraction = 0.94, publish_to_dis = True, sparms = sparms, ) tasks.append(task) return tasks if __name__ == "__main__": for i in range(10000): total_summary = {} total_counts = {} tasks = [] tasks.extend(get_tasks()) for task in tasks: dsname = task.get_sample().get_datasetname() try: if not task.complete(): task.process() except: traceback_string = traceback.format_exc() print "Runtime error:\n{0}".format(traceback_string) send_email(subject="metis error", body=traceback_string) total_summary[dsname] = task.get_task_summary() StatsParser(data=total_summary, webdir="~/public_html/dump/metis/", make_plots=False).do() time.sleep(1.*3600)