You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Nutrient class, we go from the JSON result string to a uniTypes type through the string_to_mass_unit map. We need to add some error handling if the unit that is in the JSON file is not in our map.
We could simply enough just skip over this nutrient. That's likely what I'll do for the time being.
The text was updated successfully, but these errors were encountered:
Description
In the
Nutrient
class, we go from the JSON result string to auniTypes
type through thestring_to_mass_unit
map. We need to add some error handling if the unit that is in the JSON file is not in our map.We could simply enough just skip over this nutrient. That's likely what I'll do for the time being.
The text was updated successfully, but these errors were encountered: