arup-group / elara

Command line utility for processing MATSim events output files.
MIT License
14 stars 4 forks source link

Root override #121

Closed fredshone closed 3 years ago

fredshone commented 3 years ago

adds a root "override" option to elara.main.run, eg:

elara run CONFIG/PATH.toml --root ROOT/PATH

This updates all input paths (including the bm data paths) and output path by appending the root to the configured path. Note that this uses os.path.join. As a consequence the configured paths must be relative, ie they may NOT start with a /.

Tested but not documented as this is a pretty niche case.

jademackay commented 3 years ago

Great thanks!