Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameters: xtriggers #3454

Open
oliver-sanders opened this issue Nov 29, 2019 · 1 comment
Open

parameters: xtriggers #3454

oliver-sanders opened this issue Nov 29, 2019 · 1 comment
Labels
Milestone

Comments

@oliver-sanders
Copy link
Member

I recently encountered a case where parametrised xtriggers would have been advantageous.

[cylc]
    [[parameters]]
        x = 1..3

[scheduling]
    [[xtriggers]]
        trig<x> = myfcn(point=%(point)s, %(param_x)02d)
    [[dependencies]]
        graph = """
            @trig<x> => a<x>
        """

Interestingly the parameterised xtriggers are expanded in the graph, just not in the [xtriggers] section.

Pull requests welcome!

@oliver-sanders oliver-sanders added this to the some-day milestone Nov 29, 2019
@hjoliver
Copy link
Member

hjoliver commented Dec 2, 2019

Yeah, this has been suggested before:

(As per the last comment, I think we should extend this issue - or create another - for parameterizing custom messages/outputs too ... both outputs and xtriggers are a natural extension IMO).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants