trefle-api
trefle-api copied to clipboard
USDA Leaf Retention mapping states "null" rather than "false" or "no"
Describe the bug The USDA Leaf Retention field maps correctly when the USDA reports a "Yes" value. Trefle states "true". However, when the USDA reports a "No" value, Trefle does not report a value and simply states "null". "null" and "false" are not the same thing.
To Reproduce To see "Yes" correctly mapped to "true": https://plants.sc.egov.usda.gov/java/charProfile?symbol=ABFR https://trefle.io/api/species/101129
To see "No" incorrectly mapped to "null": https://plants.sc.egov.usda.gov/java/charProfile?symbol=ACSA3 https://trefle.io/api/species/101870
Indeed ! Thanks for the report !