hpc / pavilion2

Pavilion is a Python 3 (3.5+) based framework for running and analyzing tests targeting HPC systems.
https://pavilion2.readthedocs.io/
Other
44 stars 20 forks source link

Fix max-digits in output formatting to convert input to int #770

Closed hwikle-lanl closed 4 months ago

hwikle-lanl commented 4 months ago

Output formatting code took max-digits argument as a string, and never converted it to an int, resulting in an eventual TypeError. This commit simply modifies the argument parser to automatically convert the value into an integer.

Code review checklist: