VEuPathDB / EdaPhaseOneNewIssuesOLD

A skeletal repo that contains new EDA issues that are not yet initially reviewed by the dev team
Apache License 2.0
0 stars 0 forks source link

Y-axis has negative value on coordinate #148

Closed aaronwlsong closed 3 years ago

aaronwlsong commented 3 years ago

For some compatible variables, when choose compatible vars, the y-axis has negative value.
image

bobular commented 3 years ago

Using the feature site back end, I sometimes get a 500 response from the barplot request, and sometimes the screenshot that Weilu got.

The plot is empty because the variable's vocabulary is

 "120"
 "200"
 "3"
 "640"

but the barplot response is returning

    "label": [
        "120.0",
        "200.0",
        "3.0",
        "640.0"
    ]

These don't match, so the code which tries to sort the data into vocabulary order can't do what it's supposed to, and for right or wrong, an empty plot is made.

aaronwlsong commented 3 years ago

It seems good now. Closing ticket. image

SheenaTomko commented 3 years ago

Closing this since it's no longer an issue since the data was reloaded