You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hello_nextflow/07_hello_modules.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,17 @@ We're going to be working with a clean set of project files inside the project d
28
28
### 0.1. Explore the `hello-modules` directory
29
29
30
30
Let's move into the project directory.
31
-
If you're continuing on directly from Part 5, you'll need to move up one directory first.
32
31
33
32
```bash
34
33
cd hello-modules
35
34
```
36
35
36
+
!!! note
37
+
If you're continuing on directly from Part 5, you'll need to move up one directory first.
38
+
```
39
+
cd ../hello-modules
40
+
```
41
+
37
42
The `hello-modules` directory has the same content and structure that you're expected to end up with in `hello-config` on completion of Part 5.
38
43
39
44
```console title="Directory contents"
@@ -94,7 +99,7 @@ Learn how to create your first module following conventions inspired by the nf-c
94
99
From a technical standpoint, you can create a module simply by copying the process definition into its own file, and you can name that file anything you want.
95
100
However, the Nextflow community has adopted certain conventions for code organization, influenced in large part by the [nf-core](https://nf-co.re) project (which we'll cover later in this training series).
96
101
97
-
The convention for process modules is that the process definition should be written to a standalone file named `main.nf`, stored in a directory structure with three to four levels:
102
+
The convention for Nextflow modules is that the process definition should be written to a standalone file named `main.nf`, stored in a directory structure with three to four levels:
98
103
99
104
```console title="Directory structure"
100
105
modules
@@ -187,7 +192,6 @@ include { <MODULE_NAME> } from './modules/local/<toolkit>>/<tool>/main.nf'
187
192
188
193
Let's insert that above the workflow block and fill it out appropriately.
0 commit comments