Previously --dump_percent was hardcoded to args. Now this:
args = [
"python",
"-m",
"tile2net",
"inference",
*args,
]
sargs = set(args)
if '--city_info' not in sargs:
args.extend(['--city_info', str(info)])
if '--dump_percent' not in sargs:
args.extend(['--dump_percent', str(self.dump_percent)])
if '--interactive' not in sargs:
args.append('--interactive')
Previously --dump_percent was hardcoded to args. Now this: