Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percentages as mg/kg not correctly parsed #6132

Open
Tracked by #9096
aleene opened this issue Nov 30, 2021 · 1 comment
Open
Tracked by #9096

Percentages as mg/kg not correctly parsed #6132

aleene opened this issue Nov 30, 2021 · 1 comment
Labels
🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.

Comments

@aleene
Copy link
Contributor

aleene commented Nov 30, 2021

Describe the bug

The fractions in the ingredient list are expressed as Hierro 30 mg/kg, Ac. Fólico 2,2 mg/kg, Tiamina 6,3 mg/kg. Riboflavina (B2) 1,3 mg/kg, Niacina 13 mg/kg. The slash is seen as a delimiter and breaks the mg and kg.

To Reproduce

See product: https://world.openfoodfacts.org/product/7790174001295/nuggets-vegetalex

Expected behavior

In this case the slash should not be seen as a delimiter.

And for the ingredients recogniser the weights should be ignored.

Part of

@aleene aleene added the 🐛 bug This is a bug, not a feature request. label Nov 30, 2021
@aleene aleene linked a pull request Nov 30, 2021 that will close this issue
@aleene aleene removed a link to a pull request Nov 30, 2021
@teolemon teolemon added the 🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis label Dec 28, 2021
@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity.

@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Mar 29, 2022
@teolemon teolemon moved this to To discuss and validate in 🍊 Open Food Facts Server issues Apr 23, 2024
@teolemon teolemon removed the 🐛 bug This is a bug, not a feature request. label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.
Projects
Status: To do
Status: To discuss and validate
Development

No branches or pull requests

2 participants