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

Support explicit one-way dependencies #89

Closed
aplowman opened this issue Mar 26, 2021 · 0 comments
Closed

Support explicit one-way dependencies #89

aplowman opened this issue Mar 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@aplowman
Copy link
Contributor

Consider two tasks: task_1 and task_2 that each have an input parameter: parameter_A. Assuming no extra tasks generate parameter_A as an output, a value of parameter_A can be given once in either of the tasks, and it will be used to parametrise both tasks. However, consider an additional constraint: task_1 generates another parameter: parameter_B, which is then required by task_2. In this case, the task dependency must be: task_1 --> task_2. Thus, parameter_A can be specified only in task_A now, since otherwise the workflow would be circularly dependent.

However, there are scenarios where we would want to specify parameter_A only on task_2. For instance, if the parameter is optional for task_1, but required for task_2. To satisfy this requirement, we should support the ability to exclude particular tasks from the dependency resolution of a given parameter. E.g., we could say that task_1 should not get its parameter_A value from task_2, despite our specification of parameter_A only within task_2.

Due to: LightForm-group/UoM-CSF-matflow#14

@aplowman aplowman added the enhancement New feature or request label Mar 26, 2021
@aplowman aplowman changed the title Support one-way dependencies Support explicit one-way dependencies Mar 26, 2021
@aplowman aplowman added this to the v0.2.18 milestone Mar 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant