-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make set trigger outputs in order #47
Make set trigger outputs in order #47
Conversation
Prevent warning messages caused by succeeded being triggered before custom outputs.
Co-authored-by: Ronnie Dutta <[email protected]>
Gets rid of the erroneous warning 👍 |
If you set multiple outputs on a task, then they will be set one by one. After each output is set, tasks may spawn, have their runahead status changed or be queued. This makes the logs a bit hard to read as log entries relating to the outputs being set are dispersed amongst log entries from other activities. E.G, this section of log:
Would be better written like so:
@hjoliver, would it be possible (follow-on work) to do all the output setting first, and delay the downstream consequences until the end of the routine to avoid this? |
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.
Thanks @wxtim
What has changed in this branch.
Cylc set sorts outputs before emitting them.
What problem does this solve
if you run a simple workflow:
set it running then
cylc set set/basic//1/foo # --out=required
gets the following message:
Confusing IMO.