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

Many qudt:symbol values with more than one divider symbol (slash) #1112

Closed
fkleedorfer opened this issue Jan 29, 2025 · 2 comments · Fixed by #1115
Closed

Many qudt:symbol values with more than one divider symbol (slash) #1112

fkleedorfer opened this issue Jan 29, 2025 · 2 comments · Fixed by #1115

Comments

@fkleedorfer
Copy link
Collaborator

... for example this beauty:

unit:FT-HR-PER-GAL_UK
  qudt:symbol "lb/(gal (UK))/(lb/(ft·h))" ;

The regex

qudt:symbol "\(?(.+)\)?/\(?.+\)?/.+\)?

finds 177 of such symbols in the units file.

@fkleedorfer fkleedorfer changed the title Many qudt:symbol values with two slashes Many qudt:symbol values with more than one divider symbol (slash) Jan 29, 2025
@fkleedorfer
Copy link
Collaborator Author

This is an artifact of the unit symbol generation in qudtlib. It's best not to fix these manually (much work), I'll make a PR once qudtlib is fixed.

@fkleedorfer
Copy link
Collaborator Author

Actually, not an artifact of a qudtlib bug... so we can use qudtlib to correct all the symbols. PR coming up.

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

Successfully merging a pull request may close this issue.

1 participant