web4bio / webgen

WebGen Vertically Integrated Project
https://web4bio.github.io/webgen/main/html/
11 stars 26 forks source link

Identifying Optimal Query Size Parameters #385

Closed adit-anand closed 2 years ago

adit-anand commented 2 years ago

The line of code below is giving the following error; it likely has to do with how/when the function is being called or how.then() is being used.

https://github.com/web4bio/webgen/blob/4ae9a2e5aa9587512e4c88f6b378af549e54e58b/main/js/dataAcquisition/fetch.js#L163

image

adit-anand commented 2 years ago

This console error only arises when genes are selected in Section 2. Selecting only clinical variables in Section 2 does not result in this issue.

adit-anand commented 2 years ago

After further investigating, the previous comment is not accurate. This issue is a trickle-down effect of when there is a 502 request error (Bad Gateway), which occurs when one of our individual queries takes too long to complete.

adit-anand commented 2 years ago

(1, 100) is the optimal parameter combination we arrived on!