-
Notifications
You must be signed in to change notification settings - Fork 11
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
Refactor pipeline parsing #74
Comments
Two points:
const pipeline = { join: [ task1, task2 ] }
PS: I think also we need not necessarily have an object representation to have a pre computed DAG - it does look like those two features go hand-in-hand, but it is also probably possible to use the orchestrator functions and construct a DAG. If it is possible, I would prefer to implement new features (pre-computed DAG) without overhauls of other things if possible. |
Just one more thing: after this refactor where DAG can be obtained before running the pipeline, |
Right now bionode-watermill resolves a set of promises,
but it would be nice to have a object-like structure in pipeline definition
And then bionode-watermill would parse this object to first get the pipeline before actually execute it and then execute it.
This way it would be possible to predict (before running) the pipeline shape, inputs and outputs and then after running the pipeline confirm that everything was properly set and executed as expected. Also, this can greatly increase pipeline visualization in the sense that we can improve visualization to render different colors for what was run, is running and ended.
The text was updated successfully, but these errors were encountered: