-
Notifications
You must be signed in to change notification settings - Fork 128
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
filter: Use print_err and AugurError #931
filter: Use print_err and AugurError #931
Conversation
Codecov ReportBase: 68.10% // Head: 68.07% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #931 +/- ##
==========================================
- Coverage 68.10% 68.07% -0.04%
==========================================
Files 62 62
Lines 6682 6672 -10
Branches 1637 1636 -1
==========================================
- Hits 4551 4542 -9
+ Misses 1825 1824 -1
Partials 306 306
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
84992ba
to
3cb4771
Compare
3cb4771
to
20b276b
Compare
20b276b
to
f657832
Compare
Rebased onto #997 so 13f46d4 is the only change to review here. I can't update the GitHub base branch to |
6fb437a
to
13f46d4
Compare
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.
🌟
Will rebase/merge this after #997 goes through. |
Simplify the implementation of validate_arguments() to raise AugurErrors directly instead of returning a boolean to be translated to a proper error message by the caller.
Use AugurError for consistency in top-level error handling with message formatting and exit codes. Use print_err for consistency in outputting warning messages.
13f46d4
to
1349a9a
Compare
Description of proposed changes
See commit messages.
Related issue(s)
Testing
Updated pytests to expect
AugurError
s and check error messages.Updated cram tests to reflect return code from:
augur/augur/__init__.py
Lines 78 to 80 in 440f7c6
Checklist