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

Conditional Tasks #414

Open
effigies opened this issue Feb 17, 2021 · 0 comments
Open

Conditional Tasks #414

effigies opened this issue Feb 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@effigies
Copy link
Contributor

In discussions at the Brainhack, the question of conditional tasks came up again, so it seems worth reviving.

I think the most comprehensive previous discussion was in nipy/nipype#2539, but I think we should probably start with desiderata and the state of the current API and see where we can get.

Desiderata

  • Run-time conditions should be possible
  • Build-time conditions should be detected and avoid generating unnecessary tasks
  • ...

Questions

  • Should conditionals be on/off, if/else, arbitrary branches (e.g. switch statements)? All of the above?
  • Should it be a wrapper around a task e.g., wf.add(Conditonal(mytask)), or a parameter e.g., wf.add(mytask, cond=...)?
  • ...
@effigies effigies added the enhancement New feature or request label Feb 17, 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