web4bio / webgen

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

BUG: Uncaught (in promise) TypeError: x[currentFeature] is undefined #309

Closed kaczmarj closed 3 years ago

kaczmarj commented 3 years ago

when I select (COAD) Colon adenocarcinoma for the tumor type and then click outside of the selection box (ie anywhere on the page), I get the error below:

Uncaught (in promise) TypeError: x[currentFeature] is undefined
    continuousMap http://0.0.0.0:8000/js/fillSelectBoxes.js:320
    checkIfClinicalFeatureArrayIsNumeric http://0.0.0.0:8000/js/fillSelectBoxes.js:320
    fillClinicalSelectBox http://0.0.0.0:8000/js/fillSelectBoxes.js:329
    onchange http://0.0.0.0:8000/html/:1
    jQuery 5
    triggerChange https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.js:21
    onSelect https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.js:22
    selectHighlighted https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.js:22
    init https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.js:21
    bind https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.js:21
    jQuery 8
    init https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.js:21
    select2 https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.js:23
    jQuery 2
    select2 https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.js:23
    <anonymous> http://0.0.0.0:8000/html/:102
    jQuery 13
fillSelectBoxes.js:320:52
kaczmarj commented 3 years ago

the same error happens for (STES) stomach and esophageal carcinoma. if i find this issue with other tumor types, i'll update this comment.

enemeth19 commented 3 years ago

This should be resolved with Pull Request 318

enemeth19 commented 3 years ago

Seems to no longer be an issue