Closed hyi closed 1 year ago
In particular, this PR fixes the following query:
curl -X 'POST' \ 'https://icees-asthma.renci.org/patient/cohort/COHORT%3A1/feature_association?year=2010' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "feature_a": { "MaxDailyPM2.5Exposure_StudyMax": { "operator": "<", "value": "3" } }, "feature_b": { "PrednisoneRx": { "operator": "=", "value": "0" } } }'
which returned "return value": "Invalid input value 0 for feature PrednisoneRx. Please try again." initially, and with this bugfix PR, it will return correct association metrices.
"return value": "Invalid input value 0 for feature PrednisoneRx. Please try again."
In particular, this PR fixes the following query:
which returned
"return value": "Invalid input value 0 for feature PrednisoneRx. Please try again."
initially, and with this bugfix PR, it will return correct association metrices.