@geneontology/dbxrefs
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -30,3 +30,4 @@ const axios = require('axios'); | ||
let url = entity[0].url_syntax.substring(0 , entity[0].url_syntax.indexOf("[example_id]")); | ||
let url = entity[0].url_syntax.replace("[example_id]", ""); | ||
// let url = entity[0].url_syntax.substring(0 , entity[0].url_syntax.indexOf("[example_id]")); | ||
return url + id; | ||
@@ -47,5 +48,3 @@ } | ||
// console.log(getURL("WB", undefined, "WBGene00006575")); | ||
async function init() { | ||
@@ -52,0 +51,0 @@ await axios.get(URL) |
{ | ||
"name": "@geneontology/dbxrefs", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "basic library to resolve link outs from database name and ID", | ||
@@ -5,0 +5,0 @@ "main": "go-dbxrefs.js", |
2048