jhclark / ducttape

A workflow management system for researchers who heart Unix.
http://jhclark.github.com/ducttape
Other
119 stars 14 forks source link

Function calls require listing out packages #172

Open kho opened 9 years ago

kho commented 9 years ago

Say I have a function foo that uses package bar, e.g.

func foo : bar < in > out { "${bar}/cmd" "${in}" > "${out}" }

If I call foo the following way,

task foo_0 calls foo < in=@source > out

bar will not be exported in the generated script and thus the task will fail.

As a result, one must call with bar explicitly listed,

task foo_1 calls foo : bar < in=@source > out