-
Notifications
You must be signed in to change notification settings - Fork 94
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
Error if graph has a dependency offset exclusively on the RHS #5924
Conversation
317908d
to
93638db
Compare
93638db
to
7cd0bce
Compare
7cd0bce
to
91dd3e4
Compare
91dd3e4
to
8d48016
Compare
8d48016
to
50163fc
Compare
@wxtim what does "…aph pair." mean? |
I think he used the commit message as the PR title and it got truncated, continuing on the body. I updated the title to something a little more readable |
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
6c61253
to
5ad1611
Compare
@hjoliver could you check you're happy with this approach. This is back-filling a check which was removed in: https://github.com/cylc/cylc-flow/pull/4343/files#diff-be87b3fcb20fc3228166ad53af61efb79f0d0c84ee01fcd0c9e3092c788e0b93L374-L377 (see the issue) I think the logic has become more complex in order to permit examples like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we need to merge this quickly for a maintenance release, I'm happy so long as the change log comment is straightened out, and preferably if the error message is too.
As a follow-up it would be nice to clean this up (same problem, very different error messages):
foo => bar[-P1] => baz # TaskDefError: No cycling sequences defined for bar
foo => bar[-P1] # GraphParseError: illegal cycle point offset on the right: foo => bar[-P1]
Co-authored-by: Hilary James Oliver <hilary.j.oliver@gmail.com>
@MetRonnie - I've used your words. Please merge at your leisure. |
Tests need updating |
Closes #5844
Raise an error if a graph has a dependency offset only on the RHS of a graph pair.
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.