We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a TRES value is not numeric (e.g., mem=512M), sq errors:
mem=512M
sq
(Pdb) qos_df['GrpTRES'] 102 cpu=1120,mem=5151200M Name: GrpTRES, dtype: object (Pdb) qos_df['GrpTRES'].values[0] 'cpu=1120,mem=5151200M' (Pdb) parse_tres(qos_df['GrpTRES'].values[0]) *** ValueError: invalid literal for int() with base 10: '5151200M'
I think a simple fix is to use str() instead of int() in parse_tres:
str()
int()
parse_tres
tres[key] = str(value) # int(value)
I don't think the values produced by parse_tres really need to be numeric, but it would be good to think more about it.
The text was updated successfully, but these errors were encountered:
paciorek
No branches or pull requests
When a TRES value is not numeric (e.g.,
mem=512M
),sq
errors:I think a simple fix is to use
str()
instead ofint()
inparse_tres
:I don't think the values produced by
parse_tres
really need to be numeric, but it would be good to think more about it.The text was updated successfully, but these errors were encountered: