Skip to content

Commit a3ec20f

Browse files
Mackenzie-OO7mr-c
authored andcommitted
document scatterMethod
1 parent e1beb37 commit a3ec20f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/topics/workflows.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -519,12 +519,13 @@ two-step workflow to a single step subworkflow:
519519
Now the scatter acts on a single step, but that step consists of two steps so each step is performed
520520
in parallel.
521521

522-
If `scatter` declares more than one input parameter, `scatterMethod`
523-
describes how to divide the inputs into separate jobs. There are 3 scatter methods in CWL: `dot_product`, `flat_crossproduct`, and `nested_crossproduct`
522+
If `scatter` declares more than one input parameter,
523+
`scatterMethod` describes how to divide the inputs into separate jobs.
524+
There are 3 scatter methods in CWL: `dot_product`, `flat_crossproduct`, and `nested_crossproduct`.
524525

525-
`dotproduct` specifies that each of the input arrays are aligned and one
526-
element taken from each array to construct each job. It is an error
527-
if all input arrays are not the same length.
526+
`dotproduct` specifies that each of the input arrays are aligned,
527+
and one element taken from each array to construct each job.
528+
It is an error if all input arrays are not the same length.
528529

529530
```cwl
530531
#!/usr/bin/env cwl-runner

0 commit comments

Comments
 (0)