arup-group / genet

Manipulate MATSim networks via a Python API.
MIT License
43 stars 10 forks source link

Clickify scripts #194

Closed brynpickering closed 10 months ago

brynpickering commented 11 months ago

Moved CLI into genet source code. I realise this has scope to break lots of things in GNA, but seems to be a better long-term solution to what are the main interface methods to the source code.

Some geospatial checks fail again locally, but I'm hoping the CI will say it's all clean.

I've added some comment/docstring line length NOQAs. These will be removed once moving to linting with Ruff (where you can set a different allowed length for code and comments/docs).

Slowly moving towards using pathlib.Path over os btw. The Path objects are generally safer (and cleaner) to work with and you can get click to automatically parse an input as a Path, which is neat.