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

Adding require for Coverage Conversion and related tests #1472

Merged

Conversation

devin-petersohn
Copy link
Member

Resolves #1471

@coveralls
Copy link

coveralls commented Apr 4, 2017

Coverage Status

Coverage increased (+0.002%) to 81.535% when pulling f6e726f on devin-petersohn:issue#1471nullpointer into b26b851 on bigdatagenomics:master.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1927/
Test PASSed.

Copy link
Member

@fnothaft fnothaft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but please switch try/catch to intercept. Thanks @devin-petersohn!

.setEnd(2)
.setScore(100)
.build()
try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use intercept[IllegalArgumentException] instead of try/catch.

.setEnd(2)
.setScore(100)
.build()
try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

.setEnd(2)
.setScore(100)
.build()
try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

.setStart(1)
.setScore(100)
.build()
try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

.setStart(1)
.setEnd(2)
.build()
try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

@coveralls
Copy link

coveralls commented Apr 4, 2017

Coverage Status

Coverage increased (+0.002%) to 81.535% when pulling 7a6d8d9 on devin-petersohn:issue#1471nullpointer into b26b851 on bigdatagenomics:master.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1928/
Test PASSed.

Copy link
Member

@fnothaft fnothaft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small nit! Thanks @devin-petersohn!

.build()

val caughtWithEmptyContigName =
intercept[java.lang.IllegalArgumentException](Coverage(featureWithEmptyContigName))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit, but you shouldn't need java.lang. in front of IllegalArgumentException. Would you mind making the change throughout the file?

Addressing reviewer comments

Addressing reviewer comments
@coveralls
Copy link

coveralls commented Apr 4, 2017

Coverage Status

Coverage increased (+0.002%) to 81.535% when pulling 690f948 on devin-petersohn:issue#1471nullpointer into b26b851 on bigdatagenomics:master.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1929/
Test PASSed.

@fnothaft fnothaft merged commit 98d2c92 into bigdatagenomics:master Apr 4, 2017
@fnothaft
Copy link
Member

fnothaft commented Apr 4, 2017

Merged! Thanks @devin-petersohn!

@heuermh heuermh added this to the 0.23.0 milestone Dec 7, 2017
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

Successfully merging this pull request may close these issues.

5 participants