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

More informative error message when missing plot data #151

Open
fodornandor opened this issue Dec 22, 2021 · 1 comment
Open

More informative error message when missing plot data #151

fodornandor opened this issue Dec 22, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request low priority Low priority issue NEXT NEXT step in development

Comments

@fodornandor
Copy link
Collaborator

If output file does not have data for the selected plot a simple message is displayed e.g.:
Error: object 'pondwat' not found

Could it more informative? Like:
Error: Plot cannot be created as 'pondwat' data is missing from the output.

@fodornandor fodornandor added enhancement New feature or request low priority Low priority issue labels Dec 22, 2021
@fodornandor
Copy link
Collaborator Author

Using the centraldata.json, the most useful message could be sg similar (lets say harvind is missing):

Error: Plot cannot be created as '3103 Harvest Index' data is missing from the output list in the ini file.

In this way the text between the apostrophes could be copied to the ini file directly.

@fodornandor fodornandor added the NEXT NEXT step in development label Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Low priority issue NEXT NEXT step in development
Projects
None yet
Development

No branches or pull requests

2 participants