-
Notifications
You must be signed in to change notification settings - Fork 93
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
cylc validate: fix failure on XXX-FAM task name #1779
cylc validate: fix failure on XXX-FAM task name #1779
Conversation
@@ -1400,7 +1400,12 @@ def process_graph_line(self, line, section, seq, offset_seq_map, | |||
# backslashed re markers like \b from being interpreted as | |||
# normal escapeded characters. | |||
|
|||
if fam not in line: | |||
fam_in_line = re.search( | |||
r"(?<!%(name_char_re)s)%(fam)s(?!(name_char_re)s)" % { |
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.
Missing '%' in the second name_char_re
string template!
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.
Fixed, and added extra test.
See cylc#1778 for detail.
107d2a8
to
47cca5a
Compare
Branch re-based. |
Review 1 - good, tests pass. |
Looks good to me. Test battery passing in my environment as is manual testing with the example in #1778. |
It was attempted in cylc#1779 but the fix had a speed issue. This attempt improves the speed and reduces the complexity of the original fix.
It was attempted in cylc#1779 but the fix had a speed issue. This attempt improves the speed and reduces the complexity of the original fix.
Close #1778.