Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/side_quests/workflows_of_workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ include { TIMESTAMP_GREETING } from '../modules/timestamp_greeting'

workflow {

names_ch = channel.from('Alice', 'Bob', 'Charlie')
names_ch = channel.of('Alice', 'Bob', 'Charlie')

// Chain processes: validate -> create greeting -> add timestamp
validated_ch = VALIDATE_NAME(names_ch)
Expand Down Expand Up @@ -191,7 +191,7 @@ Create `main.nf`:
include { GREETING_WORKFLOW } from './workflows/greeting'

workflow {
names = channel.from('Alice', 'Bob', 'Charlie')
names = channel.of('Alice', 'Bob', 'Charlie')
GREETING_WORKFLOW(names)

GREETING_WORKFLOW.out.greetings.view { "Original: $it" }
Expand Down Expand Up @@ -291,7 +291,7 @@ include { GREETING_WORKFLOW } from './workflows/greeting'
include { TRANSFORM_WORKFLOW } from './workflows/transform'

workflow {
names = channel.from('Alice', 'Bob', 'Charlie')
names = channel.of('Alice', 'Bob', 'Charlie')

// Run the greeting workflow
GREETING_WORKFLOW(names)
Expand Down
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include { GREETING_WORKFLOW } from './workflows/greeting'

workflow {
channel.from('Alice', 'Bob', 'Charlie') | GREETING_WORKFLOW
channel.of('Alice', 'Bob', 'Charlie') | GREETING_WORKFLOW

GREETING_WORKFLOW.out.greetings_ch.view { "Original: $it" }
GREETING_WORKFLOW.out.timestamped_ch.view { "Timestamped: $it" }
Expand Down
2 changes: 1 addition & 1 deletion side-quests/solutions/workflows_of_workflows/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include { GREETING_WORKFLOW } from './workflows/greeting'
include { TRANSFORM_WORKFLOW } from './workflows/transform'

workflow {
names = channel.from('Alice', 'Bob', 'Charlie')
names = channel.of('Alice', 'Bob', 'Charlie')

// Run the greeting workflow
GREETING_WORKFLOW(names)
Expand Down