Files
ma/nextflow/docs/snippets/branch-with-fallback.nf
2026-04-29 23:01:54 +02:00

11 lines
260 B
Plaintext

channel.of(1, 2, 3, 40, 50)
.branch { v ->
small: v < 10
large: v < 50
other: true
}
.set { result }
result.small.view { v -> "$v is small" }
result.large.view { v -> "$v is large" }
result.other.view { v -> "$v is other" }