RSGInc / micromobility_toolset

Micromobility Travel Modeling Toolkit
Other
3 stars 2 forks source link

null tests for missing config values #8

Closed blakerosenthal closed 3 years ago

blakerosenthal commented 3 years ago

Better error handling and type checks for user configs (zone.yaml, network.yaml, trips.yaml).

Ex. The dictionary getter .get(...) method silently returns a null value if missing. This is often desired behavior, but should throw an error if the parameter is required by the program. Unit test for checking error is thrown when expected.

blakerosenthal commented 3 years ago

@bstabler LOE: 2 hrs