-
Notifications
You must be signed in to change notification settings - Fork 98
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
Plot crash when there is 0 modified reads #224
Comments
Thanks @matandro for reporting the bug! And sorry that it occurred. I think I was able to reproduce the issue, and like you said I believe it comes up when all of the values for the pie chart are 0. I have pushed a fix (and added a test case to try and replicate this) on this branch https://github.com/edilytics/CRISPResso2/tree/fix-empty-reads. Would you mind trying this branch to see if it fully fixes this issue? |
Yep, the branch doesn't crash with this Do you have a timeline on incorporating this patch into a release? |
Describe the bug
When a sample has 0 reads considered as modified the code crashes on plot generation. See log below (actual sequences and window replaced with ????? for reasons 😬 ):
Expected behavior
Should still show proper report...
To reproduce
See command above. It seems to be coding sequence specific. This doesn't fail on non CDS mode.
Debug output
The text was updated successfully, but these errors were encountered: