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

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

Filter species metadata cell type wheel search on ogranism field #442

Closed lingyun1010 closed 1 month ago

lingyun1010 commented 1 month ago

In the cell type wheel json response with species search term, for example, Mus musculus or Homo sapiens, due to the solr contains some cross-species ontology data, the results have other species. To resolve this problem, we need to create a filter on searching if the search term is a species.

Rather than passing a request parameter like, I think it's better to check if it's a species search in the back-end, as we don't have to call the allSpecies endpoints from front-end.