From 3474934185d79ae20a1c0928ce9265b23cb9ec36 Mon Sep 17 00:00:00 2001 From: Andrea Giudiceandrea Date: Wed, 6 May 2020 06:37:34 +0200 Subject: [PATCH] Fix parse_dash_results.py removing a parenthesis too many --- scripts/parse_dash_results.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/parse_dash_results.py b/scripts/parse_dash_results.py index 84fde2cab98..196ede813a0 100755 --- a/scripts/parse_dash_results.py +++ b/scripts/parse_dash_results.py @@ -367,20 +367,20 @@ def main(): app = QApplication(sys.argv) parser = argparse.ArgumentParser( - description='''A tool to automatically update test image masks based on results submitted to cdash. + description='''A tool to automatically update test image masks based on results submitted to cdash. - It will take local control images from the QGIS source and rendered images from test results - on cdash to create a mask. + It will take local control images from the QGIS source and rendered images from test results + on cdash to create a mask. - When using it, carefully check, that the rendered images from the test results are acceptable and - that the new masks will only mask regions on the image that indeed allow for variation. + When using it, carefully check, that the rendered images from the test results are acceptable and + that the new masks will only mask regions on the image that indeed allow for variation. - If the resulting mask is too tolerant, consider adding a new control image next to the existing one. - ''') - parser.add_argument('dash_url', help='URL to a dash result with images. E.g. https://cdash.orfeo-toolbox.org/testDetails.php?test=15052561&build=27712')) - args=parser.parse_args() + If the resulting mask is too tolerant, consider adding a new control image next to the existing one. + ''') + parser.add_argument('dash_url', help='URL to a dash result with images. E.g. https://cdash.orfeo-toolbox.org/testDetails.php?test=15052561&build=27712') + args = parser.parse_args() - w=ResultHandler() + w = ResultHandler() w.parse_url(args.dash_url) w.exec_()