EL-BID / UrbanTrips

An open-source library to process smart card payment data, infer destination and get meaningful KPI
https://el-bid.github.io/UrbanTrips/
Other
24 stars 2 forks source link

Fix gps configs in main script #21

Closed alephcero closed 1 year ago

alephcero commented 1 year ago

If there is no geocoding and gps data there are not GPS parameters. Change to this:

    # gps configs
    if geolocalizar_trx_config:
        nombre_archivo_gps = configs["nombre_archivo_gps"]
        nombres_variables_gps = configs["nombres_variables_gps"]
    else:
        nombre_archivo_gps = None
        nombres_variables_gps = None
alephcero commented 1 year ago

Closed by https://github.com/EL-BID/UrbanTrips/commit/727ed44871a06ab5ce1fc31e920837b723476423