File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
side-quests/solutions/workflows_of_workflows Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ include { TIMESTAMP_GREETING } from '../modules/timestamp_greeting'
7474
7575workflow {
7676
77- names_ch = channel.from ('Alice', 'Bob', 'Charlie')
77+ names_ch = channel.of ('Alice', 'Bob', 'Charlie')
7878
7979 // Chain processes: validate -> create greeting -> add timestamp
8080 validated_ch = VALIDATE_NAME(names_ch)
@@ -191,7 +191,7 @@ Create `main.nf`:
191191include { GREETING_WORKFLOW } from './workflows/greeting'
192192
193193workflow {
194- names = channel.from ('Alice', 'Bob', 'Charlie')
194+ names = channel.of ('Alice', 'Bob', 'Charlie')
195195 GREETING_WORKFLOW(names)
196196
197197 GREETING_WORKFLOW.out.greetings.view { "Original: $it" }
@@ -291,7 +291,7 @@ include { GREETING_WORKFLOW } from './workflows/greeting'
291291include { TRANSFORM_WORKFLOW } from './workflows/transform'
292292
293293workflow {
294- names = channel.from ('Alice', 'Bob', 'Charlie')
294+ names = channel.of ('Alice', 'Bob', 'Charlie')
295295
296296 // Run the greeting workflow
297297 GREETING_WORKFLOW(names)
Original file line number Diff line number Diff line change 11include { GREETING_WORKFLOW } from ' ./workflows/greeting'
22
33workflow {
4- channel. from (' Alice' , ' Bob' , ' Charlie' ) | GREETING_WORKFLOW
4+ channel. of (' Alice' , ' Bob' , ' Charlie' ) | GREETING_WORKFLOW
55
66 GREETING_WORKFLOW . out. greetings_ch. view { " Original: $it " }
77 GREETING_WORKFLOW . out. timestamped_ch. view { " Timestamped: $it " }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ include { GREETING_WORKFLOW } from './workflows/greeting'
22include { TRANSFORM_WORKFLOW } from ' ./workflows/transform'
33
44workflow {
5- names = channel. from (' Alice' , ' Bob' , ' Charlie' )
5+ names = channel. of (' Alice' , ' Bob' , ' Charlie' )
66
77 // Run the greeting workflow
88 GREETING_WORKFLOW (names)
You can’t perform that action at this time.
0 commit comments