isabelrem / 2023-Software-Development-Assessment

MIT License
2 stars 1 forks source link

Investigate IndexError in PanelApp_Request_Parse.py caused by missing transcripts for some R-panels #45

Closed TomLivesey-UoM closed 9 months ago

TomLivesey-UoM commented 9 months ago

I will investigate the above issue and attempt to implement a fix to the bug. My initial suspicion is that the affected panels contain genes which do not have Mane_Select transcripts defined for them - if this is the case I will develop code to display the available transcripts to the user and ask them which they'd like to use.

TomLivesey-UoM commented 9 months ago

Using R169 as example of affected panel - contains 1 gene: HMBS

TomLivesey-UoM commented 9 months ago

The issue appears to be intermittent and is the result of 500 code responses from the VV API. I will implement code so that the script will stop and report back if not getting a 200 code from the VV API - this will not resolve the issue (I will contact the owner of the API to discuss and why it appears to be more prevalent for certain panels than others), but will prevent it exiting in an IndexError.

TomLivesey-UoM commented 9 months ago

Temporary fix pushed to 45-R_code-Indexerrors