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 parameter check for cell plot #325

Closed lingyun1010 closed 1 year ago

lingyun1010 commented 1 year ago

I fix the logic to check cell plot paramters. For example:

  1. http://localhost:8080/gxa/sc/json/cell-plots/E-EHCA-2/clusters/metadata/inferred%20cell%20type%20-%20authors%20labels?plotMethod=tsne&accessKey=&perplexit=25 should response
    {
    "error": "Missing parameter perplexity"
    }
  2. http://localhost:8080/gxa/sc/json/cell-plots/E-EHCA-2/clusters/metadata/inferred%20cell%20type%20-%20authors%20labels?plotMethod=umap&accessKey=&perplexit=25 should response
    {
     "error": "Missing parameter n_neighbors"
    }
  3. http://localhost:8080/gxa/sc/json/cell-plots/E-EHCA-2/clusters/metadata/inferred%20cell%20type%20-%20authors%20labels?plotMethod=tsne&accessKey=&perplexity=25 should response properly.