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

coordinations are interpreted as ranges #200

Open
yoavg opened this issue Dec 30, 2022 · 1 comment
Open

coordinations are interpreted as ranges #200

yoavg opened this issue Dec 30, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@yoavg
Copy link
Contributor

yoavg commented Dec 30, 2022

Describe the bug
5 and 6 kg is parsed as [Quantity(5.5, "Unit(name="kilogram", entity=Entity("mass"), uri=Kilogram)")]

Expected behavior

  • between 5 and 6 kg should parse as [Quantity(5.5, "Unit(name="kilogram", entity=Entity("mass"), uri=Kilogram)")]
  • 5 and 6 kg should parse as [Quantity(5, "Unit(name="kilogram", entity=Entity("mass"), uri=Kilogram)"), Quantity(6, "Unit(name="kilogram", entity=Entity("mass"), uri=Kilogram)")]

Additional context
The 5 and 6 x construction is common in, eg, the two groups were treated with 5 and 6 mg ... respectively

@yoavg
Copy link
Contributor Author

yoavg commented Dec 31, 2022

should be fixed by #204

@nielstron nielstron added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants