Skip to content

Commit

Permalink
Merge pull request #611 from wxtim/feature.support_multiple_inheritin…
Browse files Browse the repository at this point in the history
…g_parameterized_families.control_test

added documentation for <param><param2> syntax
  • Loading branch information
oliver-sanders committed Jul 7, 2023
2 parents 72d96f9 + 9b1c34f commit 11d8897
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/user-guide/writing-workflows/parameterized-tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,23 @@ template syntax.

Any number of parameters can be used at once. This parameterization:


.. code-block:: sub
model<run,obs> # for run = 1..2 and obs = ship, buoy, plane
model<run><obs> # Alternatively, from Cylc 8.2.0
.. versionadded:: 8.2.0

From this version you can also use the equivalent ``model<run><obs>``
syntax. This allows more flexibility in templating: You can now construct
names like ``beginning<run>middle<obs>end``.

.. note::

Before Cylc 8.2.0 this syntax worked in many cases, but was
not formally supported, and failed if used in the names of
:ref:`families<families_and_parameters>`.

expands to these tasks names:

Expand Down Expand Up @@ -369,6 +383,7 @@ expands to:
proc_small => proc_big => proc_huge
.. _families_and_parameters:

Task Families and Parameters
----------------------------
Expand Down

0 comments on commit 11d8897

Please sign in to comment.