Closed dnil closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.57%. Comparing base (
6f6bc89
) to head (0e9eb9a
). Report is 1 commits behind head on main.:exclamation: Current head 0e9eb9a differs from pull request most recent head 2746a9a
Please upload reports for the commit 2746a9a to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Marking as ready based on the error report and the clear possibility for the key to be missing. I have not been able to reproduce the underlying issue though, so something could still be hiding here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
This PR fixes a bug - as far as we understand a benign case page crash.
I'm not entirely sure what vacated the phenotype_terms in this case - something creative with manual editing of gene list, and toggling of use-HPO-for-filtering perhaps?
But, we do seem to regard this as a non-mandatory value for cases, so I guess we better test for its existence: https://github.com/Clinical-Genomics/scout/blob/6f6bc8958faec6a40bb57b34afd2e1c4a7915244/scout/adapter/mongo/case.py#L1118
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:
Expected outcome: The functionality should be working Take a screenshot and attach or copy/paste the output.
Review: