8 out = arvados.crunch.TaskOutputDir()
10 string = open(__file__).read()
11 with open(os.path.join(out.path, 'example.out'), 'w') as f:
13 with open(os.path.join(out.path, 'example.out.SHA1'), 'w') as f:
14 f.write(hashlib.sha1(string).hexdigest() + "\n")
16 arvados.current_task().set_output(out.manifest_text())