def run(self, prefix, args=None): self._prefix = prefix self._assist_pre(prefix) if args is not None and isinstance(args, CustomArgParser): parsed_args = args.parse_args() else: arg_parser = CustomArgParser() parsed_args = arg_parser.parse_args() e = int(parsed_args.ev_count) g = int(parsed_args.gv_count) r = int(parsed_args.route_limit) t = int(parsed_args.trip_limit) self._dump_config = DumpConfig(e, g, r, t) self._run_inner(parsed_args) self._write([r, t, e, g] + self._cur_summary_suffix) self._close()
def run_multi(self, prefix, args=None): RunAssist.run_multi(self, prefix, CustomArgParser())
def run(self, prefix, args=None): RunAssistWTC.run(self, prefix, CustomArgParser())