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

Parser throws System.IndexOutOfRangeException when parsing {annotation}/{annotation} #26

Open
alexzautke opened this issue Dec 8, 2020 · 1 comment

Comments

@alexzautke
Copy link
Member

When parsing a metric consisting off {annotation}/{annotation} (1/1) an System.IndexOutOfRangeException is thrown while parsing the second annotation in the term. The current code assumes that the numerator is a proper unit when the denominator is an annotation.

Test: {reads}/{base}

@alexzautke
Copy link
Member Author

Added a ticket to the UCUM tracker system as well, as there is no official test for this combination of annotations.
https://ucum.org/trac/ticket/5776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant