Skip to content

Commit

Permalink
Merge pull request #177 from biothings/ngd-instance
Browse files Browse the repository at this point in the history
Use instance-equivalent NGD
  • Loading branch information
tokebe authored Dec 13, 2023
2 parents 8535cd9 + 0a8e30d commit 9a047d6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/results_assembly/score.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ export interface ScoreCombos {

// create lookup table for ngd scores in the format: {inputUMLS-outputUMLS: ngd}
async function query(queryPairs: string[][]): Promise<ScoreCombos> {
const url = 'https://biothings.ncats.io/semmeddb/query/ngd';
const url = {
dev: 'https://biothings.ci.transltr.io/semmeddb/query/ngd',
ci: 'https://biothings.ci.transltr.io/semmeddb/query/ngd',
test: 'https://biothings.test.transltr.io/semmeddb/query/ngd',
prod: 'https://biothings.ncats.io/semmeddb/query/ngd',
}[process.env.INSTANCE_ENV ?? 'prod'];
const batchSize = 250;
const concurrency_limit = os.cpus().length * 2;

Expand Down

0 comments on commit 9a047d6

Please sign in to comment.