projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
6260: Just use the token loaded by the SDK (ARVADOS_API_TOKEN),
[arvados.git]
/
doc
/
_includes
/
_tutorial_hash_script_py.liquid
diff --git
a/doc/_includes/_tutorial_hash_script_py.liquid
b/doc/_includes/_tutorial_hash_script_py.liquid
index 3fb48f87e039c4ac5c627be13f03980140e2ab41..ede28091de45f1b14556b721722153c3b1f3d70f 100644
(file)
--- a/
doc/_includes/_tutorial_hash_script_py.liquid
+++ b/
doc/_includes/_tutorial_hash_script_py.liquid
@@
-36,10
+36,10
@@
with out.open('md5sum.txt') as out_file:
out_file.write("{} {}/{}\n".format(digestor.hexdigest(), input_id,
os.path.normpath(input_path)))
out_file.write("{} {}/{}\n".format(digestor.hexdigest(), input_id,
os.path.normpath(input_path)))
-# Commit the output to
keep. This returns a Keep id
.
-output_
id
= out.finish()
+# Commit the output to
Keep
.
+output_
locator
= out.finish()
-#
Set the output for this task to the Keep id
-this_task.set_output(output_
id
)
+#
Use the resulting locator as the output for this task.
+this_task.set_output(output_
locator
)
# Done!
# Done!