glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

Supersearch init - Disease "name" field contains species instead of disease names #950

Closed kmartinez834 closed 9 months ago

kmartinez834 commented 9 months ago

image

https://beta-api.glygen.org/supersearch/search_init/

{
    "id": "disease",
    "label": "Disease",
    "description": "GlyGen Disease Concept",
    "fields": [
      {
        "id": "name",
        "label": "Name",
        "type": "string",
        "maxlength": 2500,
        "url": "https://wiki.glygen.org/index.php/name",
        "oplist": [
          "$eq",
          "$regex",
          "$ne"
        ],
        "typeahead": "",
        "enum": [
          "Hepatitis C virus (isolate Japanese)",
          "Severe acute respiratory syndrome-related coronavirus",
          "Hepatitis C virus (isolate H)",
          "Rattus norvegicus",
          "Dictyostelium discoideum",
          "Drosophila melanogaster",
          "Saccharomyces cerevisiae S288C",
          "Severe acute respiratory syndrome coronavirus 2",
          "Homo sapiens",
          "Mus musculus"
        ],
rykahsay commented 9 months ago

I have tried to fix it, please check carefully all the pulldown menus -- I might have introduced an error.

kmartinez834 commented 9 months ago

Everything looks good