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

Improve the error message in SWY if an invalid soil group is found #1193

Closed
phargogh opened this issue Feb 20, 2023 · 0 comments · Fixed by #1194
Closed

Improve the error message in SWY if an invalid soil group is found #1193

phargogh opened this issue Feb 20, 2023 · 0 comments · Fixed by #1194
Assignees
Labels
bug Something isn't working in progress This issue is actively being worked on

Comments

@phargogh
Copy link
Member

A user on the forums encountered a KeyError when they provided a soil group pixel with a value of 6, which is outside the valid set of values: {1, 2, 3, 4}. This exception should be made more readable.

@phargogh phargogh added bug Something isn't working in progress This issue is actively being worked on labels Feb 20, 2023
@phargogh phargogh self-assigned this Feb 20, 2023
phargogh added a commit to phargogh/invest that referenced this issue Feb 20, 2023
A human-readable exception is now raised if an invalid soil group is
found.

RE:natcap#1193
phargogh added a commit to phargogh/invest that referenced this issue Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in progress This issue is actively being worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant