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: Balsamic container & pytests (fix cyvcf2 version) #1206
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release_12.0.2 #1206 +/- ##
=================================================
Coverage ? 99.31%
=================================================
Files ? 29
Lines ? 1756
Branches ? 0
=================================================
Hits ? 1744
Misses ? 12
Partials ? 0
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.
Sorry for the slow review! I have no comments about the code.
For the cyvcf2 changes, I'm not sure if I understand the changes correctly. If there has been no change to the version you can ignore my comments below.
If the version has been changed I'm wondering if any tests are required to make sure that the following scripts are working properly, and do not affect the results in any negative unforeseen way.
from cyvcf2 import VCF |
from cyvcf2 import VCF, Writer |
It seems for instance that edit_vcf_info.py is used in varcaller_filter_tumor_only.rule, and in varcaller_filter_tumor_normal.rule
And it could be nice to confirm that the VCF-files are not affected in any major way, just to avoid the possibility of needing to validate for TGA too in this small patch, since these rules affect the TGA workflow.
For the vcfutil plugin I don't know where it's used exactly! But similarly there, have we considered effects on this plugin based on the changes?
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.
Meant to approve along with the comments.
Nice fix as always! The hero we don't deserve but are happy we have regardless ⭐ 🧙 ⭐
Thanks for the review 💟 We need to validate the entire workflow as we had to address issues with the balsamic container by fixing the pydantic version. I think it's fine with the integration tests. Regarding But we're using it for edit_vcf_info.py as you said, but I'm hoping that the pytest we have are reliable enough. Doesn't seem we have breaking changes with the new version of cyvcf2, and I would say we validate it as part of the integration tests |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This PR:
The recent Cython update to v0.30 has led to compilation errors, resulting in the failure to execute the Balsamic container and, more importantly, preventing pytest from running via GitHub actions.
Changed:
Review and tests: