Warning, /panda-server/pandaserver/workflow/examples/nested_workflow_sig_bg_comb_wfd.yaml is written in an unsupported language. File is not indexed.
0001 # nested_workflow_sig_bg_comb_wfd.yaml
0002 # Nested (reference-based) sub-workflow example (shape B): an ordinary, non-scatter
0003 # sub-workflow. The sig_bg_comb step runs the referenced signal_background_combine_wfd.yaml
0004 # once, using that file's own declared inputs (signal/background). top produces a seed,
0005 # and bottom consumes the sub-workflow output plus top's seed.
0006 # The inline-steps equivalent is nested_workflow_inline_sig_bg_comb_wfd.yaml (shape C).
0007 name: nested_workflow_sig_bg_comb
0008
0009 inputs: []
0010
0011 outputs:
0012 final_result:
0013 from: merge/outDS
0014
0015 steps:
0016 top:
0017 type: prun
0018 args: --outputs seed.txt --nJobs 3 --avoidVP
0019 exec: "echo %RNDM:10 > seed.txt"
0020
0021 sig_bg_comb:
0022 type: workflow
0023 workflow_ref: signal_background_combine_wfd.yaml # <-- path relative to sandbox root
0024
0025 bottom:
0026 type: prun
0027 inDS: sig_bg_comb/outDS
0028 secondaryDSs:
0029 - top/outDS
0030 secondaryDsTypes:
0031 - seed.txt
0032 args: --outputs results.root --forceStaged --avoidVP
0033 exec: "echo %IN %IN2 > results.root"