Skip to content

Commit b67a4cf

Browse files
authored
Merge pull request common-workflow-language#272 from StarvingMarvin/master
minor userguide fixes
2 parents 570ae5f + 6931eeb commit b67a4cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

v1.0/UserGuide.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
8686
Available primitive types are *string*, *int*, *long*, *float*, *double*,
8787
and *null*; complex types are *array* and *record*; in addition there are
88-
special types *File* and *Any*.
88+
special types *File*, *Directory* and *Any*.
8989
9090
The following example demonstrates some input parameters with different
9191
types and appearing on the command line in different ways:
@@ -601,7 +601,7 @@
601601
602602
*record-job3.yml*
603603
```
604-
- $include: examples/record-job2.yml
604+
- $include: examples/record-job3.yml
605605
- |
606606
```
607607
@@ -681,7 +681,7 @@
681681
Sometimes you need to create a file on the fly from input parameters,
682682
such as tools which expect to read their input configuration from a file
683683
rather than the command line parameters. To do this, use
684-
`CreateFileRequirement`.
684+
`InitialWorkDirRequirement`.
685685
686686
*createfile.cwl*
687687
```
@@ -712,7 +712,7 @@
712712
Normally, input files are located in a read-only directory separate from
713713
the output directory. This causes problems if the underlying tool
714714
expects to write its output files alongside the input file in the same
715-
directory. You use `CreateFileRequirement` to stage input files into the
715+
directory. You use `InitialWorkDirRequirement` to stage input files into the
716716
output directory. In this example, we use a Javascript expression to
717717
extract the base name of the input file from its leading directory path.
718718

0 commit comments

Comments
 (0)