Skip to content

Commit d269169

Browse files
smyjatetron
andauthored
Docker Clarity (#313)
* docker clarity * typo fix Co-authored-by: Peter Amstutz <[email protected]>
1 parent 8b5809d commit d269169

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ inputs:
246246
<a name="enuminputs"></a>
247247
## Enum Inputs ⚜️
248248

249-
For command-line flags that require a specific input as the argument, an enum type can be declared in CWL. **Specifying null here is known as long form style. It does the same thing as the question mark on the other inputs.**
249+
For command line flags that require a specific input as the argument an enum type can be declared in CWL. **Specifying null here is known as long form style. It does the same thing as the question mark on the other inputs.**
250250

251251
```yaml
252252
Format:
@@ -266,7 +266,7 @@ Format:
266266
<a name="recordinputs"></a>
267267
## Record Inputs 📀
268268

269-
For command-line flags that are either **mutually exclusive** or **dependent**, a special record type can be defined. You can also specify null here to create optional inputs.
269+
For commandline flags that are either **mutually exclusive** or **dependent** a special record type can be defined. You can also specify null here to create optional inputs.
270270

271271
```yaml
272272
#Using record inputs to create mutually exclusive inputs

src/topics/using-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ hints:
4141
dockerPull: node:slim
4242
```
4343

44-
`baseCommand: node` tells CWL that we will be running this command in a container. We
44+
`baseCommand: node` tells CWL that we will be running this command using the Node Js runtime that is meant for Javascript files. We
4545
then need to specify some `hints` for how to find the container we want. In this case we list
4646
just our requirements for the docker container in `DockerRequirements`. The `dockerPull:`
4747
parameter takes the same value that you would pass to a `docker pull` command. That is,
4848
the name of the container image (you can even specify the tag, which is good idea for
4949
best practices when using containers for reproducible research). In this case we have
5050
used a container called `node:slim`.
5151

52-
Provide a "hello.js" and invoke `cwltool` providing the tool description and the
52+
Create a Javascript file named "hello.js" and invoke `cwltool` providing the tool description and the
5353
input object on the command line:
5454

5555
```{literalinclude} /_includes/cwl/using-containers/hello.js

0 commit comments

Comments
 (0)