Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Count the number of warnings and errors during SAM file validation #855
Conversation
ronlevine
self-assigned this
Apr 17, 2017
ronlevine
requested a review
from tfenne
Apr 17, 2017
|
@tfenne Please review. |
codecov-io
commented
Apr 17, 2017
•
Codecov Report
@@ Coverage Diff @@
## master #855 +/- ##
==============================================
+ Coverage 64.922% 64.94% +0.018%
- Complexity 7203 7209 +6
==============================================
Files 527 527
Lines 31789 31800 +11
Branches 5425 5426 +1
==============================================
+ Hits 20638 20651 +13
Misses 9017 9017
+ Partials 2134 2132 -2
|
ronlevine
requested a review
from yfarjoun
Apr 18, 2017
|
@yfarjoun Could you take a look? |
| + return; | ||
| + } | ||
| + this.numWarnings++; | ||
| + } else { |
ronlevine
Apr 18, 2017
Contributor
Changed to a switch statement that handles each known error type and throws a SAMException if it's an unknown error.
|
@yfarjoun Squashing and merging once tests pass if that's fine with you. |
|
yup. go ahead. |
ronlevine
merged commit ecd7df2
into
master
Apr 19, 2017
5 checks passed
codecov/changes
No unexpected coverage changes found.
Details
codecov/patch
66.667% of diff hit (target 64.922%)
Details
codecov/project
64.94% (+0.018%) compared to da2b76b
Details
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
continuous-integration/travis-ci/push
The Travis CI build passed
Details
ronlevine
deleted the
rhl_return_error_codes branch
Apr 19, 2017
ronlevine
referenced
this pull request
in broadinstitute/picard
May 29, 2017
Merged
ValidateSamFile returns informative error codes #822
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ronlevine commentedApr 17, 2017
Description
Count the number of warnings and errors so Picard's ValidateSamFile can determine the appropriate exit code described in broadinstitute/picard#794.
Checklist