thasso / pyjip

JIP Pipeline System
http://pyjip.readthedocs.org
Other
19 stars 8 forks source link

Allow for dynamic options when a tool is added to a pipeline #35

Closed thasso closed 10 years ago

thasso commented 10 years ago

This is useful to enable passing arbitrary things into the template renderer

thasso commented 10 years ago

Dynamic options can be added with _inputs, _outputs, or _options as options. For example:

bash("cat ${myfile}", _inputs={"myfile": "/path/to/file"})

This works for all nodes and tools added to a pipeline.