Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate all input files for all components before running anything? #784

Open
jpn-- opened this issue Jan 29, 2024 · 0 comments
Open

Validate all input files for all components before running anything? #784

jpn-- opened this issue Jan 29, 2024 · 0 comments
Labels
Feature New feature or request

Comments

@jpn--
Copy link
Member

jpn-- commented Jan 29, 2024

Currently, ActivitySim loads component inputs "on demand". For example, the settings file for trip mode choice is not read in until it is needed. If there is a problem with this file, it won't be discovered until it is used, which could be a long time after a model run is started.

Describe the solution you'd like
We should load and validate all input files at the beginning of a model run, so users can be alerted to problems promptly. This would require that users actually have correctly configured inputs for an entire model run before it is started, and could not, e.g. start a run knowing it will fail at component 9, but intending to collect and evaluate outputs that are generated before that. As a work around, if the user knows a fail will occur at component 9, they could just disable that component (and all later steps).

@jpn-- jpn-- added the Feature New feature or request label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant