Skip to content

Commit 7bbad6d

Browse files
Merge branch 'master' into minor_typos
2 parents 99034b8 + 16709e8 commit 7bbad6d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/hello_nextflow/03_hello_containers.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Notice that the prompt has changed to `(base) root@b645838b3314:/tmp#`, which in
5959
If we run:
6060

6161
```console title="Output"
62-
(base) root@b645838b3314:/tmp# ls
62+
(base) root@b645838b3314:/tmp# ls /
6363
bin dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var
6464
```
6565

@@ -115,7 +115,7 @@ One way to do this is to **mount** a **volume** from the host system into the co
115115
Prior to working on the next task, confirm that you are in the `hello-nextflow` directory.
116116

117117
```bash
118-
cd /workspace/gitpod/nf-training/hello-nextflow
118+
cd /workspace/gitpod/hello-nextflow
119119
```
120120

121121
Then run:
@@ -166,6 +166,12 @@ Output:
166166
/_]' /_]'
167167
```
168168

169+
Now exit the container once again:
170+
171+
```bash
172+
exit
173+
```
174+
169175
### Takeaway
170176

171177
You know how to pull a container and run it interactively, make your data accessible to it, which lets you try commands without having to install any software on your system.
@@ -183,7 +189,7 @@ This means that you can use any container image you like to run your processes,
183189

184190
### 2.1. Add a container directive to your process
185191

186-
Edit the `hello_containers.nf` script to add a `container` directive to the `cowsay` process.
192+
Edit the `hello-containers.nf` script to add a `container` directive to the `cowsay` process.
187193

188194
_Before:_
189195

@@ -207,7 +213,7 @@ process cowSay {
207213
Run the script to see the container in action.
208214

209215
```bash
210-
nextflow run hello_containers.nf
216+
nextflow run hello-containers.nf
211217
```
212218

213219
!!! NOTE
@@ -410,7 +416,7 @@ Doing these exercises is _not required_ to understand later parts of the trainin
410416
|| ||
411417
```
412418

413-
### 4.1. Modify the `hello_containers.nf` script to use a getQuote process
419+
### 4.1. Modify the `hello-containers.nf` script to use a getQuote process
414420

415421
We have a list of computer and biology pioneers in the `containers/data/pioneers.csv` file.
416422
At a high level, to complete this exercise you will need to:

0 commit comments

Comments
 (0)