-
Notifications
You must be signed in to change notification settings - Fork 38
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
Inconsistent output working with lscpu output #110
Comments
I can't find anywhere that lscpu claims to put out valid yml. I tried it on my laptop and got a different error and when I looked into it that line was not valid YAML 1.1. If it's supposed to be valid yaml 1.1, I will open a ticket with the lscpu maintainers. I think in your example the return characters are missing as well. lscpu has an "-J" option that generates valid json. That might be a better option as that's explicitly supported. |
Thanks for pointing to I'm just curious why the following input has different behavior:
|
I reduced it to this:
Then I tested the inverse:
Note that both were imported with quotes, yet the 0,8 doesn't print with them. I suspect that there is an interaction between the "," and the octal parsing. |
yaml::yaml.load
does not properly work with the following input fromlscpu
:The
NUMA node0 CPU(s)
is correctly produced while theNUMA node1 CPU(s)
is NA as indicated by the warning.The text was updated successfully, but these errors were encountered: