Browse Source

linting

main
mm 2 years ago
parent
commit
1e38ce04c9
  1. 16
      generate_data.py

16
generate_data.py

@ -13,9 +13,19 @@ MAX_DISTANCE = 20_037.5
# Add argparse
parser = argparse.ArgumentParser()
parser.add_argument("-c", "--country", help="Specify the country code", type=str, default="US")
parser.add_argument("-w", "--workers", help="Specify the number of workers", type=int, default=1)
parser.add_argument("-o", "--output-file", help="Specify the name of the output file (file.csv)", type=str, default="city_distances_full.csv")
parser.add_argument(
"-c", "--country", help="Specify the country code", type=str, default="US"
)
parser.add_argument(
"-w", "--workers", help="Specify the number of workers", type=int, default=1
)
parser.add_argument(
"-o",
"--output-file",
help="Specify the name of the output file (file.csv)",
type=str,
default="city_distances_full.csv",
)
args = parser.parse_args()

Loading…
Cancel
Save