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

Parameters broken inside family names. #2484

Closed
hjoliver opened this issue Nov 16, 2017 · 3 comments
Closed

Parameters broken inside family names. #2484

hjoliver opened this issue Nov 16, 2017 · 3 comments
Assignees
Milestone

Comments

@hjoliver
Copy link
Member

Bug reported by @ColemanTom: Parameters seem to work fine inside task names foo<param>bar but not inside family names. From a quick a look, it appears that the post-parameter bit is being dropped from processing of inherit = FAM<param>bar. Probably an easy fix.

@hjoliver hjoliver added this to the soon milestone Nov 16, 2017
@matthewrmshin
Copy link
Contributor

For example:

[cylc]
    [[parameters]]
        s = mercury, venus, earth, mars
[scheduling]
    [[dependencies]]
        graph = X<s>Y
[runtime]
    [[X<s>Y]]
        script = true
    [[x<s>y]]
        inherit = X<s>Y

On cylc validate of the above suite, you will get:

'ERROR, undefined parent for x_mercuryy: X_mercury'

@matthewrmshin
Copy link
Contributor

(@sadielbartholomew This bug requires a simple fix that is probably a good introduction to the guts of cylc. I'll walk you through the location of the problem and how to create a test for the fix, etc.)

@matthewrmshin matthewrmshin modified the milestones: soon, next release Nov 23, 2017
@sadielbartholomew
Copy link
Collaborator

Thanks for your assistance with this Matt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants