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

Somalier: fix division by zero in sex ploidy plot #1670

Merged
merged 2 commits into from
Apr 16, 2022

Conversation

vladsavelyev
Copy link
Member

@vladsavelyev vladsavelyev commented Apr 16, 2022

Avoiding division by zero error. If the mean GT for some reason is zero, it's reasonable to set scaled depth to zero as well.

Added test example into MultiQC_TestData.

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md has been updated

Test data: MultiQC/test-data#230

Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@ewels ewels merged commit c91dd02 into MultiQC:master Apr 16, 2022
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.

2 participants