Debian Codegraph @

tests/functional/cylc-view/00-single-inc/flow.cylc

raw
1 #!jinja2
2 [meta]
3 title = "Jinja2 simple ensemble example"
4 description = "Auto-generation of dependencies for related tasks."
5
6 [scheduler]
7 allow implicit tasks = True
8
9 # Note that depending on the structure of the workflow you may be able to
10 # SIMPLY use a task family name in the graph to represent the entire
11 # ensemble (which would be defined by inheritance under [runtime]).
12
13 %include inc/default.jinja2
14
15 # line \
16 continuation
17
18 [scheduling]
19 [[graph]]
20 R1 = """ {# generate ensemble dependencies #}
21 {% for I in range( 0, N_MEMBERS ) %}
22 foo => mem_{{ I }} => post_{{ I }} => bar
23 {% endfor %}"""