Closed northwestwitch closed 3 weeks ago
Attention: Patch coverage is 75.00000%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 84.62%. Comparing base (
2112466
) to head (f2a4ea4
).
Files | Patch % | Lines |
---|---|---|
scout/parse/panel.py | 50.00% | 4 Missing :warning: |
scout/load/panel.py | 80.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Well spotted - and good intuition - it really was a different thing! I'm hesitant about the solution, after having made many pained constructions trying to keep parse free from importing adapter. It's not that I really like the construction with a separate module of parser functions - the parser should be in a corresponding Loader Class - but it's what it looks like, and the spaghetti would get worse by importing adapter into it as well.
No, I agree, there is another solution, I'll propose it!
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
This PR adds a functionality or fixes a bug.
Note that there are some genes that are missing Ensembl IDs in PanelApp, for instance KCNJ18 (only by chance this gene is present only in build 38 in scout)
The problem is that scout relies on Ensembl gene - HGNC ID mappings to load the genes in PanelApp panels
Testing on cg-vm1 server (Clinical Genomics Stockholm)
**Prepare for testing** 1. Make sure the PR is pushed and available on [Docker Hub](https://hub.docker.com/repository/docker/clinicalgenomics/scout-server-stage) 1. Fist book your testing time using the Pax software available at [https://pax.scilifelab.se/](https://pax.scilifelab.se). The resource you are going to call dibs on is `scout-stage` and the server is `cg-vm1`. 1. `sshTesting on hasta server (Clinical Genomics Stockholm)
**Prepare for testing** 1. `sshHow to test: Try loading the panel 229 (all genes, also red ones) in scout using main branch and this branch (you should load genes in both builds first):
scout --demo load panel --panel-app --institute cust000 --panel-id 229 --panel-app-confidence red
Expected outcome:
Review: