Skip to content

Commit

Permalink
Merge fdc3ebb into 814338f
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenXu committed Oct 10, 2021
2 parents 814338f + fdc3ebb commit cd9304f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sri.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function combineInputs(userInput: ResolverInput): string[] {
//input: array of curies
//handles querying and batching of inputs
async function query(api_input: string[]) {
let url: URL = new URL('https://nodenormalization-sri-dev.renci.org/1.1/get_normalized_nodes'); // TODO: change to non-dev version when ready
let url: URL = new URL('https://nodenormalization-sri.renci.org/1.2/get_normalized_nodes');

//SRI returns a 414 error if the length of the url query is greater than 65536, split into chunks of 1500 curies to be on the safe side (lower number if still running into 414 errors)
let chunked_input = _.chunk(api_input, 1500);
Expand Down

0 comments on commit cd9304f

Please sign in to comment.