X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/35336cd73e444534cb2eda20e3730464cc4e6553..7a54fd6a073e03f98f68d0b6c816a9f394f625dd:/doc/user/tutorials/running-external-program.html.textile.liquid
diff --git a/doc/user/tutorials/running-external-program.html.textile.liquid b/doc/user/tutorials/running-external-program.html.textile.liquid
index b555d77fe4..e683dea8dc 100644
--- a/doc/user/tutorials/running-external-program.html.textile.liquid
+++ b/doc/user/tutorials/running-external-program.html.textile.liquid
@@ -6,18 +6,18 @@ title: "Using Crunch to run external programs"
This tutorial demonstrates how to use Crunch to run an external program by writting a wrapper using the Python SDK.
-*This tutorial assumes that you are "logged into an Arvados VM instance":{{site.baseurl}}/user/getting_started/ssh-access.html#login, and have a "working environment.":{{site.baseurl}}/user/getting_started/check-environment.html*
+{% include 'tutorial_expectations' %}
In this tutorial, you will use the external program @md5sum@ to compute hashes instead of the built-in Python library used in earlier tutorials.
-Start by entering the @crunch_scripts@ directory of your git repository:
+Start by entering the @crunch_scripts@ directory of your Git working tree:
~$ cd you/crunch_scripts
~/you/crunch_scripts$ nano run-md5sum.py
@@ -29,7 +29,7 @@ Make the file executable:
notextile. ~/you/crunch_scripts$ chmod +x run-md5sum.py
-Next, add the file to @git@ staging, commit and push:
+Next, use Git to stage the file, commit, and push:
~/you/crunch_scripts$ git add run-md5sum.py
@@ -38,7 +38,7 @@ Next, add the file to @git@ staging, commit and push:
~/you/crunch_scripts$ cat >~/the_pipeline <<EOF
@@ -53,7 +53,8 @@ You should now be able to run your new script using Crunch, with "script" referr
"dataclass": "Collection"
}
},
- "script_version":"you:master"
+ "repository":"$USER",
+ "script_version":"master"
}
}
}
@@ -62,4 +63,6 @@ EOF