in heats.py [0:0]
def set_missed_args(args, damon_result):
if args.tid and args.time_range and args.address_range:
return
guides = get_guide_info(damon_result)
guide = guides[0]
if not args.tid:
args.tid = guide.tid
for g in guides:
if g.tid == args.tid:
guide = g
break
if not args.time_range:
args.time_range = [guide.start_time, guide.end_time]
if not args.address_range:
args.address_range = sorted(guide.regions(), key=lambda x: x[1] - x[0],
reverse=True)[0]