-
Notifications
You must be signed in to change notification settings - Fork 618
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
Print better messages for problems with tag filtering ranges #440
Comments
We should also, perhaps, provide a message to indicate when something that looks like a range is being interpreted as a regexp. |
I think complaining with a clear error message that units are different here would be sufficient to guide the user. |
Make sense to me. User originally started with "0:256" -- so perhaps we should also complain when there are no units. |
"0:256" is in count units I think. |
For "0:256" I'd expect an error message that tag X has the unit of Y but unit Z was used in the filter. |
Right now,
0B:256B
is interpreted at a range for filtering tags, but0:256B
is not.I think we should either infer that the units are the same for both parts of the range if units are only specified for one half of the range, or not require units for zero.
The text was updated successfully, but these errors were encountered: