-
Notifications
You must be signed in to change notification settings - Fork 3
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 RNA uploads/delivery message draft #4145
base: master
Are you sure you want to change the base?
Conversation
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.
Oof. At least the we use the same logic now 😅 Well done
dna_samples_cases_analysis_query: Query = ( | ||
sample_query.join(Sample.links).join(CaseSample.case).join(Analysis) | ||
) |
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.
I understand that we difenie these queries in cg/store/base.py
. Also,maybe this function can be used instead _get_join_analysis_sample_family_query
?
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.
I do think BSV fought with this quite a bit in her PR and it might be that the behaviour was slightly different. Given that this is not something I have written, I would prefer not changing it.
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.
still defining it in base would enhance reusability and avoid code duplication
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.
But none of them add to an already existing query? Why should it be there?
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.
looks good 👍
Quality Gate passedIssues Measures |
Upload linking works ✅ [isak.ohlsson@hasta:2025-01-29] [S_base] $ cg upload rna-junctions-to-scout --dry-run sharpbulldog |
Description
Closes #4115. The main change is that we filter on the RNA case's collaborators, rather than its samples' but it also merges the logic in the upload flow and the delivery message flow, where different parts of the code was used to link the RNA case to its DNA cases.
Added
Changed
Fixed
How to prepare for test
us
paxa
How to test
Expected test outcome
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan