Skip to content

coordinations are interpreted as ranges #200

@yoavg

Description

@yoavg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions