VEuPathDB / EdaSubsettingService

A REST service to provide data and subsetting in the Exploratory Data Analysis Workspace
Apache License 2.0
0 stars 0 forks source link

Type checking in float/int distribution bin configs is broken #68

Closed ryanrdoherty closed 2 years ago

ryanrdoherty commented 2 years ago

Submitted by both @bobular and @dpbisme.

The distribution endpoint on dev (dfalke-b) and qa is giving a 400 response with what seems to be a reasonable request: Error: 400 Bad Request {"status":"bad-request","message":"Variable OBI_0001169 of type INTEGER: displayRangeMin must be an integer value."} POST data to https://localhost:3000/eda-subsetting-service/studies/SCORESL01-1/entities/EUPATH_0000096/variables/OBI_0001169/distribution: {"valueSpec":"count","filters":[],"binSpec":{"displayRangeMin":0,"displayRangeMax":80,"binWidth":3}}

ryanrdoherty commented 2 years ago
Screen Shot 2022-06-01 at 10 16 35 AM
ryanrdoherty commented 2 years ago

Fixed with upgrade to lib-eda-subsetting v1.2.1