ebi-gene-expression-group / atlas-web-single-cell

Single Cell Expression Atlas web application
Apache License 2.0
5 stars 5 forks source link

Fix json payload error which causes recursion error in the front end … #334

Closed upendrakumbham closed 1 year ago

upendrakumbham commented 1 year ago

Issue reference: Recursion error

Getting recursion error in the front end because of the JSON response error for the metadata 'Gallus gallus'. In the JSON response tree, one element generates the same value for the "ID" and "Parent" attributes.

Recursion error URL: https://www.ebi.ac.uk/gxa/sc/search/metadata/Gallus%20gallus

Endpoint - https://www.ebi.ac.uk/gxa/sc/json/cell-type-wheel/Gallus gallus

Fix: Tweaked a code to generate JSON payload attribute values "ID" and "Parent" are always different.