SACGF / variantgrid

VariantGrid public repo
Other
23 stars 2 forks source link

Gene symbol HGVS search - report errors #1110

Open davmlaw opened 3 months ago

davmlaw commented 3 months ago

Raised from SACGF/variantgrid_private#3634

If you search for BMD:c.10889G>A

It returns some results. However, we also swallow the errors, eg:

Error resolving transcripts: ENST00000378043.9 (MANE Select), NM_004183.4 (MANE Select): c.10889 coordinate is out of bounds

These are only reported if there are no results.

We would like to return the errors as well as the results - I am not sure how to do that as we yield SearchResult but if you throw an exception it just exits the function and never returns to get more results

Can we yield something that ends up looking like an exception?

davmlaw commented 2 months ago

Changes in #1105 now allow us to return SearchResult failures