Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/hpo/genes endpoint does not return HGNC ID #16

Closed
holtgrewe opened this issue Jun 11, 2023 · 0 comments · Fixed by #17
Closed

/hpo/genes endpoint does not return HGNC ID #16

holtgrewe opened this issue Jun 11, 2023 · 0 comments · Fixed by #17
Labels
bug Something isn't working

Comments

@holtgrewe
Copy link
Collaborator

Describe the bug
The /hpo/genes endpoint does not return the HGNC ID of genes.

To Reproduce
Steps to reproduce the behavior:

# curl http://127.0.0.1:8080/hpo/genes?gene_symbol=TGDS | jq '.'
{
  "version": {
    "hpo": "2023-04-05",
    "viguno": "0.1.0"
  },
  "query": {
    "gene_id": null,
    "gene_symbol": "TGDS",
    "match_": null,
    "max_results": 100,
    "hpo_terms": false
  },
  "result": [
    {
      "gene_ncbi_id": 23483,
      "gene_symbol": "TGDS"
    }
  ]
}

Expected behavior
The HGNC ID should be written out.

Screenshots
N/A

Additional context
N/A

@holtgrewe holtgrewe added the bug Something isn't working label Jun 11, 2023
holtgrewe added a commit that referenced this issue Jun 11, 2023
Also, in tests, version "0.0.0" is used.
@holtgrewe holtgrewe linked a pull request Jun 11, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant