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

Provide Error Message and Defaults for Missing Fields in link.csv #14

Open
asu-trans-ai-lab opened this issue Jul 9, 2023 · 0 comments

Comments

@asu-trans-ai-lab
Copy link
Owner

Issue Description:
Currently, when the length, free_speed, or capacity field in the link.csv file is missing, DTALite stops processing. This abrupt termination could be avoided by providing more user-friendly feedback and robust error handling.

Proposed Solution:
If the length, free_speed, or capacity field is missing in link.csv, the program should provide an error message notifying the user of the missing fields. After providing this feedback, the program should use the following default values to continue processing:

length: 999.0 (meters)
free_speed: 60.0 (kmph)
capacity: 1800
Steps to Reproduce:

Remove or clear the length, free_speed, or capacity field in link.csv.
Run DTALite.
Expected Outcome:
The program provides an error message and uses default values to continue processing.

Actual Outcome:
The program stops processing without sufficient error messaging or attempt to use default values.

Additional Information:
Enhancing this aspect of the program would significantly improve its user-friendliness and resilience, ensuring it can still function with incomplete data and providing clear feedback to users when their data is missing necessary fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant