-~/you/crunch_scripts$ cat >~/the_pipeline <<EOF
-{
- "name":"Filter md5 hash values",
- "components":{
- "do_hash":{
- "script":"hash.py",
- "script_parameters":{
- "input":{
- "required": true,
- "dataclass": "Collection"
- }
- },
- "repository":"$USER",
- "script_version":"master",
- "output_is_persistent":false
- },
- "do_filter":{
- "script":"0-filter.py",
- "script_parameters":{
- "input":{
- "output_of":"do_hash"
- }
- },
- "repository":"$USER",
- "script_version":"master",
- "output_is_persistent":true
- }
- }
-}
-EOF
+~$ arv --format=uuid pipeline_template create --pipeline-template '{}'
+qr1hi-p5p6p-wt1vdhkezgx7g2k
-* @"output_of"@ indicates that the @output@ of the @do_hash@ component should be used as the @"input"@ of @do_filter@. Arvados uses these dependencies between jobs to automatically determine the correct order to run them.
-
-(Your shell should automatically fill in @$USER@ with your login name. The JSON that gets saved should have @"repository"@ pointed at your personal git repository.)
+Next, use @arv edit@ to edit the template. This will open the template record in an interactive text editor (as specified by $EDITOR or $VISUAL, otherwise defaults to @nano@). Replace the empty fields with the following content:
-Now, use @arv pipeline_template create@ to register your pipeline template in Arvados:
+