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

Bug fix: CollectWgsMetricsWithNonZeroCoverage fails to produce a plot #1031

Merged
merged 1 commit into from Dec 15, 2017

Conversation

nh13
Copy link
Collaborator

@nh13 nh13 commented Dec 14, 2017

when there is zero coverage.

Also fixed up a few warnings.

@coveralls
Copy link

coveralls commented Dec 14, 2017

Coverage Status

Coverage remained the same at 77.214% when pulling e2f1618 on nh_wgs_nonzero_plot_fixup into 2bb2714 on master.

@nh13
Copy link
Collaborator Author

nh13 commented Dec 15, 2017

@yfarjoun or @lbergelson, care to take a look? This happens when we have zero coverage data (yikes!).

Copy link
Contributor

@yfarjoun yfarjoun left a comment

Choose a reason for hiding this comment

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

this looks good. thanks.

I was wondering if you could add a functionality tests that runs against a tiny bam with no coverage and tests that a pdf is created.

when there is zero coverage.

Also fixed up a few warnings.
@nh13
Copy link
Collaborator Author

nh13 commented Dec 15, 2017

@yfarjoun good idea, I added in a test to make sure the pdf is created. I squashed the commits to be ready for the merge.

@coveralls
Copy link

coveralls commented Dec 15, 2017

Coverage Status

Coverage remained the same at 77.634% when pulling 069f54b on nh_wgs_nonzero_plot_fixup into 4e62e69 on master.

@yfarjoun
Copy link
Contributor

Thanks. in the future, please refrain from squashing. We can easily squash in github and it only makes reviewing more difficult. (in this case, it's really not a problem since the changes are so minimal...)

@yfarjoun
Copy link
Contributor

Looks great! thanks for the fix and test!

👍

@yfarjoun yfarjoun merged commit 1d95eed into master Dec 15, 2017
@yfarjoun yfarjoun deleted the nh_wgs_nonzero_plot_fixup branch December 15, 2017 17:29
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.

None yet

3 participants