Skip to content

Commit

Permalink
feat: use instance-equivalent NGD
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Dec 13, 2023
1 parent ef3bd33 commit 0a8e30d
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 0a8e30d

Please sign in to comment.