NLeSC / noodles

Computational workflow engine, making distributed computing in Python easy!
http://nlesc.github.io/noodles
Apache License 2.0
21 stars 7 forks source link

Passing empty list to gather will crash #23

Closed bpmweel closed 8 years ago

bpmweel commented 8 years ago

Minimal working example:

from noodles import gather

l = [] gather(*l)

results in the following error: Traceback (most recent call last): File "", line 1, in File "/home/bweel/code/noodles/noodles/interface/decorator.py", line 22, in wrapped call_by_value = config['call_by_value'])) File "/home/bweel/code/noodles/noodles/workflow/create.py", line 74, in from_call bound_args.arguments[variadic] = list(bound_args.arguments[variadic]) KeyError: 'a'