eqasim-org / ile-de-france

An open synthetic population of Île-de-France for agent-based transport simulation
GNU General Public License v2.0
47 stars 69 forks source link

feat: Add more configurable paths for input data. #144

Closed ainar closed 1 year ago

ainar commented 1 year ago

To make the code more usable as it is and to progress in line with the generalization of the pipeline (https://github.com/eqasim-org/ile-de-france/issues/139), I suggest adding the parameters below. It should also simplify the update of the input files.

The name of the parameters and the default values are personal suggestions. We can discuss them if you want.

sebhoerl commented 1 year ago

For me it is good to merge. One remark: Theoretically, synpp understands hierarchical options now, so for instance, you should be able to requests soemthing like filosofi.municipalities_path and filosofi.regions_path and have it in the config file as

config:
  filosofi:
    municipalities_path: ...
    regions_path: ...

Could be good to structure the whole configuration better in the the future, but for now its fine, not sure this is even used somewhere yet and would need to be tested ;)