Skip to content
Permalink
Browse files

Add some help

  • Loading branch information
m-kuhn committed Jan 22, 2020
1 parent 587d2a1 commit 8cebe9011274a52b5d865fe043d9f1ddddbbf0ea
Showing with 10 additions and 4 deletions.
  1. +10 −4 scripts/parse_dash_results.py
@@ -366,11 +366,17 @@ def create_diff_image(self, control_image, rendered_image, mask_image):
def main():
app = QApplication(sys.argv)

parser = argparse.ArgumentParser()
parser.add_argument('dash_url')
args = parser.parse_args()
parser = argparse.ArgumentParser(
description='''A tool to automatically update test images masks based on results submitted to cdash.
w = ResultHandler()
Will take local control images and rendered images on cdash to create a mask.
When using it, make sure that the new masks will only mask regions on the image that indeed allow for variation
and do not completely void any tests.
''')
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.parse_url(args.dash_url)
w.exec_()

0 comments on commit 8cebe90

Please sign in to comment.
You can’t perform that action at this time.