This commit is contained in:
2023-02-04 19:00:37 -08:00
parent ea2aea1fc8
commit 5e53eeb565
4 changed files with 89 additions and 18 deletions

View File

@@ -20,6 +20,7 @@ function testSearchPubmed(query) {
});
}
function testSearchGene(query) {
fetch(`${url}/esearch.fcgi?db=gene&term=${query}`)
.then((res) => {
@@ -31,6 +32,7 @@ function testSearchGene(query) {
});
}
function testLookupGeneById(ids) {
fetch(`${url}/esummary.fcgi?db=gene&id=${String(ids)}`)
.then(res => {