opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Uniprot widget crashing in variant page #3609

Closed d0choa closed 2 days ago

d0choa commented 2 weeks ago

It is probably a known issue for @opentargets/fe-team, but I'm raising this so we have a track of the issue:

https://genetics--ot-platform.netlify.app/variant/12_6333477_C_T

The GraphQL response seems healthy, so I assume is a FE-logic bug in the widget:

{
    "data": {
        "variant": {
            "id": "12_6333477_C_T",
            "referenceAllele": "C",
            "alternateAllele": "T",
            "evidences": {
                "count": 2,
                "rows": [
                    {
                        "targetFromSourceId": "P19438",
                        "confidence": "high",
                        "diseaseFromSource": "Periodic fever, familial, autosomal dominant",
                        "disease": {
                            "id": "MONDO_0007727",
                            "name": "autosomal dominant familial periodic fever",
                            "__typename": "Disease"
                        },
                        "literature": [
                            "13130484"
                        ],
                        "__typename": "Evidence"
                    },
                    {
                        "targetFromSourceId": "P19438",
                        "confidence": "high",
                        "diseaseFromSource": "Periodic fever, familial, autosomal dominant",
                        "disease": {
                            "id": "Orphanet_32960",
                            "name": "Tumor necrosis factor receptor 1 associated periodic syndrome",
                            "__typename": "Disease"
                        },
                        "literature": [
                            "13130484"
                        ],
                        "__typename": "Evidence"
                    }
                ],
                "__typename": "Evidences"
            },
            "__typename": "Variant"
        }
    }
}

@carcruz feel free to reassign.

prashantuniyal02 commented 1 week ago

Seems to work in the latest iteration: https://ot-platform-partner.netlify.app/variant/12_6333477_C_T

Image