VEuPathDB / EdaNewIssues

0 stars 0 forks source link

Subset tab bin bug: display of continuous variable hits "400 Bad request error" #384

Closed aaronwlsong closed 2 years ago

aaronwlsong commented 2 years ago

Some continuous variables have issue to display its statistic numbers (min, mean, max) in Browse and Subset. The error shows :" Error: 400 Bad Request {"status":"bad-request","message":"Variable EUPATH_0032690 of type NUMBER: Bin width must be a positive number."} " Two additional findings for this bug: 1) This bug only exists on qa.site, not on live site.

2) Some vars are under multiple paths, this error only happens certain path (usually the 2nd path) not all of paths. For example, in PERCH study, var "Haemophilus influenzae type B copies, by multiplexed qPCR result (/mL) Original variable name: hib_sqty_lapcr", when it is under path: Induced sputum microbiology test---Raw test result for induced sputum----Raw bacteria data for induced sputum---Haemophilus influenzae type B copies, by multiplexed qPCR result (/mL), it looks good.

Screen Shot 2022-07-19 at 3 41 22 PM

But, when it is under the path Lung aspirate microbiology test---Raw test result for lung aspirate---Raw bacteria data for lung aspirate---Haemophilus influenzae type B copies, by multiplexed qPCR result (/mL), the error happens.

Screen Shot 2022-07-19 at 3 42 00 PM

Similar one is var "Streptococcus pneumoniae copies, by multiplexed qPCR result (/mL) Original variable name: pneu_sqty_lapcr"

Screen Shot 2022-07-19 at 3 49 14 PM
danicahelb commented 2 years ago

Note, we are still working on the legal agreement with PERCH. Sheena emailed with them last week about it, but nothing seems likely to change in the next few months

danicahelb commented 2 years ago

related to: https://github.com/VEuPathDB/plot.data/issues/185 We are seeing the same issue with many other (released) studies, so this is a high priority ticket

SheenaTomko commented 2 years ago

These are fixed now