-$ git commit -m"my first script"
+~/you/crunch_scripts$ git commit -m"my first script"
[master (root-commit) 27fd88b] my first script
1 file changed, 33 insertions(+)
create mode 100755 crunch_scripts/hash.py
@@ -82,7 +82,7 @@ Next, commit your changes to git. All staged changes are recorded into the loca
Finally, upload your changes to the Arvados server:
-$ git push origin master
+~/you/crunch_scripts$ git push origin master
Counting objects: 4, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (4/4), 682 bytes, done.
@@ -94,7 +94,7 @@ To git@git.qr1hi.arvadosapi.com:you.git
You should now be able to run your script using Crunch, similar to how we did it in the "first tutorial.":tutorial-job1.html The field @"script_version"@ should be @you:master@ to tell Crunch to run the script at the head of the "master" git branch, which you just uploaded.
-$ cat >the_job <<EOF
+~/you/crunch_scripts$ cat >~/the_job <<EOF
{
"script": "hash.py",
"script_version": "you:master",
@@ -104,19 +104,19 @@ You should now be able to run your script using Crunch, similar to how we did it
}
}
EOF
-$ arv -h job create --job "$(cat the_job)"
+~/you/crunch_scripts$ arv job create --job "$(cat ~/the_job)"
{
...
"uuid":"qr1hi-xxxxx-xxxxxxxxxxxxxxx"
...
}
-$ arv -h job get --uuid qr1hi-xxxxx-xxxxxxxxxxxxxxx
+~/you/crunch_scripts$ arv job get --uuid qr1hi-xxxxx-xxxxxxxxxxxxxxx
{
...
"output":"880b55fb4470b148a447ff38cacdd952+54",
...
}
-$ arv keep get 880b55fb4470b148a447ff38cacdd952+54/md5sum.txt
+~/you/crunch_scripts$ arv keep get 880b55fb4470b148a447ff38cacdd952+54/md5sum.txt
44b8ae3fde7a8a88d2f7ebd237625b4f var-GS000016015-ASM.tsv.bz2