-
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
Remove c
char from prereq API dump
#6305
Conversation
So long as this doesn't break anything, we're good to remove it. Both |
cylc/flow/scripts/show.py
Outdated
item['expression'].replace('c', ''), | ||
item['expression'], | ||
item['satisfied'] | ||
]) | ||
for cond in item['conditions']: | ||
if multi_cond and not options.list_prereqs: | ||
prefix = f'\t{cond["exprAlias"].strip("c")} = ' |
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.
Gotta leave this in for now I'm afraid, otherwise the character will appear in show
output.
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.
Ah right, forgot that cylc show
needs the workflow in question to be running (which might be on an older version)
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.
LGTM
It was something that was present in the cylc7 api data/dump.. But really was just a shorthand for condition |
cylc/cylc-ui#1886 (comment)
Not sure why "c" was ever included in the prerequisite alias. It is somewhat confusing when you have single-letter task names as we do in test workflows.
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.?.?.x
branch.