Skip to content

Commit

Permalink
Add some help
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jan 22, 2020
1 parent 587d2a1 commit 8cebe90
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions scripts/parse_dash_results.py
Expand Up @@ -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_()

Expand Down

0 comments on commit 8cebe90

Please sign in to comment.