-
Notifications
You must be signed in to change notification settings - Fork 79
Remove inconsistant mutation error #1233
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
Conversation
jeromekelleher
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor comments
Codecov Report
@@ Coverage Diff @@
## main #1233 +/- ##
==========================================
- Coverage 93.71% 93.70% -0.02%
==========================================
Files 26 26
Lines 21618 21599 -19
Branches 909 909
==========================================
- Hits 20260 20239 -21
- Misses 1319 1321 +2
Partials 39 39
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
Adding silent mutations has made some tests error, looking into it |
|
Good, that's a sign it's working! Let me know if you have any questions/would like me to take a look at anything. |
|
Ah, the issue is that a site with only silent mutations has a blank vcf |
|
Last failure is due to this change exposing #1225 to the test suite. Will fix that in seperate PR and merge before this one. |
|
Oh dear, this means I should finish up #1226 |
|
What's the status here @benjeffery? Should we skip some tests here in this PR so we can merge it, then rebase #1226 and fix there? |
|
This only needs #1225, which I'm working on. Should be done in soon, so will just wait and rebase. |
e5e6a10 to
431bf28
Compare
|
#1225 is getting more complicated than I realised so have added a skip here. |
| pos = self.transformed_positions[variant.index] | ||
| ref = variant.alleles[0] | ||
| alt = ",".join(variant.alleles[1:]) | ||
| alt = ",".join(variant.alleles[1:]) if len(variant.alleles) > 1 else "." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can confirm this is the correct behaviour.
jeromekelleher
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
431bf28 to
cd47046
Compare
Fixes #1180
WIP, needs stats tests