Closed d-callan closed 1 year ago
We need a generic solution for this, I think. I propose we make this a 422 and use the standard error reporting format. @ryanrdoherty can probably provide some more details on this.
All viz components on the front end will need to be updated to handle this type of response.
FWIW, I think a standard 400 response, with a user friendly message would be adequate. We don’t need to make any client side changes in the immediate term, I believe.
Duplicate of https://github.com/VEuPathDB/microbiomeComputations/issues/22
Let's continue discussion there. Closing!
can recreate w the FARMM study using WGS > species and the median ranking method. median values of 0 get removed, leaving nothing left to rank. then plot.data accurately complains that it cant make a plot without an xaxis.
this means both front and backend work, w some decisions along the way. how do we want to tell the user about this? what should the message be, how should it be displayed, how does the backend relay that message, etc..