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 the tsne plot option dropdown menu label issue #360

Closed lingyun1010 closed 10 months ago

lingyun1010 commented 10 months ago

The result page gives 400 errors for the experiment 'E-HCAD-30'

These two endpoints behaving a weirdly:

/gxa/sc/json/cell-plots/E-HCAD-30/clusters/metadata/20?plotMethod=tsne&accessKey=&perplexity=50 => 400

 /gxa/sc/json/cell-plots/E-HCAD-30/expression/?plotMethod=tsne&accessKey=&perplexity=50 => 400

Need to investigate to fix it.

Here is the screenshot:

image

Solution: The default value for the selected option value is not set properly. Besides, the format of option value should be consistent in the URL, which has been fixed too. There is nothing to change in the front-end component, but just the router script.