Files
ma/nextflow/tests/agent-output.nf
2026-04-29 23:01:54 +02:00

36 lines
486 B
Plaintext

#!/usr/bin/env nextflow
workflow {
HELLO | WORLD | view
}
/*
* Test for agent output mode (NXF_AGENT_MODE=true)
*
* This test verifies the minimal agent-friendly output format.
* Run with: NXF_AGENT_MODE=true nextflow run agent-output.nf
*/
process HELLO {
output:
stdout
script:
"""
echo "Hello from agent mode"
"""
}
process WORLD {
input:
val msg
output:
stdout
script:
"""
echo "World received: ${msg}"
"""
}