-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix combine CLI producing empty output with invalid data #56
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #56 +/- ##
==========================================
+ Coverage 89.37% 89.61% +0.24%
==========================================
Files 54 54
Lines 3434 3475 +41
==========================================
+ Hits 3069 3114 +45
+ Misses 365 361 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
If it passes on all existing harmonized files it should be good to go.
When processing a single file, if the combine CLI encountered an invalid variant it would quietly fail to write out any variants (quiet except for a misleading log statement). Some investigation notes:
return
statement inside afinally
block 😬ValidationError
exceptionCloses #55
Test results
22 (older) scoring files contain invalid rsIDs:
Fix is to relax the rsID check when harmonisation goes wrong. No other
ValidationErrors
get thrown.