-
Notifications
You must be signed in to change notification settings - Fork 46
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 #4902 - use unambiguos alias if no true hgnc id is known #4904
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4904 +/- ##
==========================================
- Coverage 84.80% 84.78% -0.02%
==========================================
Files 319 319
Lines 19314 19319 +5
==========================================
+ Hits 16379 16380 +1
- Misses 2935 2939 +4 ☔ 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.
Looks good! 👍🏻
Co-authored-by: Chiara Rasi <[email protected]>
No, I got one more |
Quality Gate passedIssues Measures |
Right, but that was from when I updated only the panel, and you had both new genes and panel, right! Or did I miss something? After updating genes I got that dubious ATXN8 gene in, so we both ended up with 4630. Importantly the patch seems to fix the issue with POPDC1 cleanly, and be safe enough by explicitly checking for aliases. |
…is known (Clinical-Genomics#4904) * Fix Clinical-Genomics#4902 - use unambiguos alias if no true hgnc id is known * CHANGELOG * Update scout/parse/panel.py Co-authored-by: Chiara Rasi <[email protected]> * typehints --------- Co-authored-by: Chiara Rasi <[email protected]>
This PR adds a functionality or fixes a bug.
Nice with #4903 - thank you, and sorry I didn't see it in time. I think this is a safer solution. Compare how the same data structure is handled in other places e.g. here
scout/scout/adapter/mongo/hgnc.py
Line 436 in 07ad1e2
We could and should probably refactor it though - seems overly complex, and the generating code is a bit dusty - but if its ok with you I'd prefer not to mess with it since it when it is in use in other places?
Testing on cg-vm1 server (Clinical Genomics Stockholm)
Prepare for testing
scout-stage
and the server iscg-vm1
.ssh <USER.NAME>@cg-vm1.scilifelab.se
sudo -iu hiseq.clinical
ssh localhost
podman ps
systemctl --user stop scout.target
systemctl --user start scout@<this_branch>
systemctl --user status scout.target
scout-stage
) to be used for testing by other users.Testing on hasta server (Clinical Genomics Stockholm)
Prepare for testing
ssh <USER.NAME>@hasta.scilifelab.se
us; paxa -u <user> -s hasta -r scout-stage
. You can also use the WSGI Pax app available at https://pax.scilifelab.se/.conda activate S_scout; pip freeze | grep scout-browser
bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_scout -t scout -b <this_branch>
us; scout --version
paxa
procedure, which will release the allocated resource (scout-stage
) to be used for testing by other users.How to test:
Expected outcome:
The functionality should be working
Take a screenshot and attach or copy/paste the output.
Review: