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 error handling in PySSC #122

Open
brtietz opened this issue Oct 26, 2022 · 0 comments
Open

Improve error handling in PySSC #122

brtietz opened this issue Oct 26, 2022 · 0 comments

Comments

@brtietz
Copy link
Collaborator

brtietz commented Oct 26, 2022

As a part of testing https://github.com/NREL/ssc/pull/907/files, I got an error in PySSC in the examples:

image

Conspicuously absent from the error is the variable name that caused it. Add try-excepts to PySSC set functions that report the variable name when there is an error.

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