-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improving readability/consistency of errors/exceptions in gempyor
.
#313
Merged
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
452902f
Update parameters.py
emprzy 9a7f4a3
Update parameters.py
emprzy c37a605
Merge branch 'HopkinsIDD:main' into gempyor_error_improvements
emprzy d063762
Improved readability/consistency of errors/exceptions in 5 gempyor fi…
emprzy 0cdeed1
Merge branch 'HopkinsIDD:main' into gempyor_error_improvements
emprzy add67d1
Attempting to fix errors by changing the regexs in some of the test f…
emprzy 3b4e490
Another attempt to fix RegExs in test files
emprzy e3df5d8
Update initial_conditions.py
emprzy 2066ee4
Update parameters.py
emprzy 2b3feed
Update flepimop/gempyor_pkg/tests/parameters/test_parameters_class.py
emprzy 72aaa84
Small adjustments to compartments.py
emprzy 4639721
Some more small syntactical adjustments.
emprzy 064ec7e
Update flepimop/gempyor_pkg/src/gempyor/compartments.py
emprzy f614127
Continuing to evolve error/exception messags
emprzy 9c20318
Merge branch 'gempyor_error_improvements' of https://github.com/emprz…
emprzy 3b20e8a
Fixing reg-exs
emprzy afee285
Updating RegEx
emprzy 2eaa427
Fixing RegExs again UGH!
emprzy 48a78ee
I'm losing my mind with this RegEx
emprzy 6e1410f
Update test_parameters_class.py
emprzy 5c09a3c
Update flepimop/gempyor_pkg/tests/parameters/test_parameters_class.py
emprzy 2785437
Shortening a verbose error
emprzy 4cc651f
RegEx update
emprzy be85d72
Regex edit..
emprzy fb549c4
Regex edit
emprzy 135aa54
Update flepimop/gempyor_pkg/src/gempyor/compartments.py
emprzy 681ff79
Update flepimop/gempyor_pkg/src/gempyor/compartments.py
emprzy 1549b5b
Update flepimop/gempyor_pkg/src/gempyor/compartments.py
emprzy cbfd093
Update flepimop/gempyor_pkg/src/gempyor/compartments.py
emprzy ccfb6e0
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy e83f250
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 6eed1e3
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 08e25a3
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy e68dc8a
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 960f4d2
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 2b75d6a
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 5d999dd
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy a15184e
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 2b2a281
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 76b5adf
Update flepimop/gempyor_pkg/src/gempyor/initial_conditions.py
emprzy a0ae5e3
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 0c14d66
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 9a6ba69
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 4ca01af
Update flepimop/gempyor_pkg/src/gempyor/config_validator.py
emprzy 88e310d
Update flepimop/gempyor_pkg/src/gempyor/inference.py
emprzy 01d11a7
Update parameters.py and test_parameters_class.py
emprzy fd049dd
Merge branch 'HopkinsIDD:main' into gempyor_error_improvements
emprzy 7096ef1
Updated compartments.py, config_validaor.py, inference.py, parameters…
emprzy ef62ec3
Merge branch 'main' into gempyor_error_improvements
emprzy 99b4aec
Update parameters.py
emprzy d2f8cc2
Applying `black` to this branch
emprzy cde6acb
linting my code with `black`
emprzy 7b4f6e8
Capitalization correct in a RegEx in `test_ic.py`
emprzy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Saying "error" in an error message is redundant, and also unclear in this context. Maybe something like "Raised exception: e"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
n.b., there are some other case to apply this style to.