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

TriggerExpressionError with inter-cycle dependency and OR operator #6588

Open
MetRonnie opened this issue Feb 4, 2025 · 2 comments
Open
Assignees
Labels
bug Something is wrong :(
Milestone

Comments

@MetRonnie
Copy link
Member

Reproducible Example

[scheduler]
    allow implicit tasks = True
[scheduling]
    cycling mode = integer
    [[graph]]
        P1 = """
            a & x
            x[-P2] | a => b
        """

Image

$ cylc play workflow -N
...
ERROR - Workflow shutting down - TriggerExpressionError: "-1/x succeeded|1/a succeeded":
    invalid syntax (<string>, line 1)
ERROR - No platforms available to remote tidy install targets:
     * localhost
@MetRonnie MetRonnie added the bug Something is wrong :( label Feb 4, 2025
@MetRonnie MetRonnie added this to the 8.4.1 milestone Feb 4, 2025
@hjoliver
Copy link
Member

hjoliver commented Feb 4, 2025

It's OK with x[-P1] | a => b or with x[-P2] => b.

Validation gives a slight different error, but only because it catches TriggerExpressionError and prints a custom message.

@hjoliver
Copy link
Member

hjoliver commented Feb 4, 2025

Image

We haven't replaced -1/x succeeded with Python code in the conditional expression for prerequisite evaluation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong :(
Projects
None yet
Development

No branches or pull requests

3 participants