def get_atome_energy(): need_all = True print_children = False get_children = True # -#-#-#-#- # # l _ e l e # # -#-#-#-#- # arguments["--run_id"] = [arguments["--run_atom"]] # Usefull object contain all related stuff to l_ele a = ListEle(l_ele, get_children, print_children) # Only get the children a.l_ele = a.l_ele_children a.l_ele_to_get = a.l_ele_children # -#-#-#-#-#- # # F i l t e r # # -#-#-#-#-#- # _, cmd_where = get_cmd(arguments, a, need_all) # -#-#-#-#-#-#-#-#-#- # # P r o c e s s i n g # # -#-#-#-#-#-#-#-#-#- # e_cal_atom, _, _ = get_ecal_runinfo_finfo(cmd_where, "var") # -#-#-#-#-#- # # R e t u r n # # -#-#-#-#-#- # return e_cal_atom[int(arguments["--run_atom"])]