[ARVADOS] updated: b509e32fbef0ff346c26669a22b87576390285ba

git at public.curoverse.com git at public.curoverse.com
Fri Jan 24 10:59:56 EST 2014


Summary of changes:
 doc/_includes/run-md5sum.py                        |    2 +-
 .../tutorials/running-external-program.textile     |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

       via  b509e32fbef0ff346c26669a22b87576390285ba (commit)
      from  35bb31a252d665c40c13fbf6b73b61b935d72313 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b509e32fbef0ff346c26669a22b87576390285ba
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Jan 24 11:00:34 2014 -0500

    Tweaked running external program tutorial to make it more explicit that md5sum is the external program used in the example.

diff --git a/doc/_includes/run-md5sum.py b/doc/_includes/run-md5sum.py
index 31b2ef0..a770c86 100644
--- a/doc/_includes/run-md5sum.py
+++ b/doc/_includes/run-md5sum.py
@@ -21,7 +21,7 @@ input_dir = arvados.util.collection_extract(this_task_input,
         files=[input_file],
         decompress=False)
 
-# Run the 'md5sum' command on the input file, with the current working
+# Run the external 'md5sum' program on the input file, with the current working
 # directory set to the location the input file was extracted to.
 stdoutdata, stderrdata = arvados.util.run_command(
         ['md5sum', input_file],
diff --git a/doc/user/tutorials/running-external-program.textile b/doc/user/tutorials/running-external-program.textile
index f23fae8..21b8c6f 100644
--- a/doc/user/tutorials/running-external-program.textile
+++ b/doc/user/tutorials/running-external-program.textile
@@ -12,14 +12,16 @@ This tutorial demonstrates how to use Crunch to run an external program by writt
 
 *This tutorial assumes that you are "logged into an Arvados VM instance":{{site.basedoc}}/user/getting_started/ssh-access.html#login, and have a "working environment.":{{site.basedoc}}/user/getting_started/check-environment.html*
 
+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:
 
 <notextile>
 <pre><code>$ <span class="userinput">cd you/crunch_scripts</span>
 </code></pre>
 </notextile>
-
-Next, using your favorite text editor, create a new file called @run-md5sum.py@ in the @crunch_scripts@ directory.  Add the following code to compute the md5 hash of each file in a collection:
+ 
+Next, using your favorite text editor, create a new file called @run-md5sum.py@ in the @crunch_scripts@ directory.  Add the following code to use the @md5sum@ program to compute the hash of each file in a collection:
 
 <pre><code class="userinput">{% include run-md5sum.py %}</code></pre>
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list