From 128c25211c91e67d25ddf2c8f38018920a6d3f5b Mon Sep 17 00:00:00 2001 From: David Wang Date: Sun, 27 Oct 2024 14:25:03 -0400 Subject: [PATCH] fixing coderabbit --- stressTest.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stressTest.py b/stressTest.py index b21789c3..ce3b81fd 100644 --- a/stressTest.py +++ b/stressTest.py @@ -98,9 +98,8 @@ def get_metrics(output_file): parser.add_argument("--job_path", type=str, required=True, help="Path to the job") parser.add_argument( "--get_metrics", - type=bool, - default=False, - help="Set to true to get metrics, does not create new jobs", + action = "store_true", + help="Get metrics without creating new jobs" ) args = parser.parse_args() @@ -117,4 +116,4 @@ def get_metrics(output_file): args.tango_path, args.job_name, args.job_path, - ) + ) \ No newline at end of file