Closed drtconway closed 4 years ago
Hi Tom, you've got a subtle syntax error, and I think we could probably do more to guide this in the right direction. Your code-block
is returning a python set, and not a dictionary, you'll want a :
instead of a ,
:
return {'out': [f'{prefix}.{i}' for i in range(count)]}
Lol. My bad. Thanks!
On Mon, 29 Jun 2020 at 12:45, Michael Franklin notifications@github.com wrote:
Hi Tom, you've got a subtle syntax error, and I think we could probably do more to guide this in the right direction. Your code-block is returning a python set, and not a dictionary, you'll want a : instead of a ,:
return {'out': [f'{prefix}.{i}' for i in range(count)]}
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PMCC-BioinformaticsCore/janis-core/issues/33#issuecomment-650872015, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKBNUPDUCJSU3KAMRVKBTLRY756PANCNFSM4OK2M7BQ .
-- Thomas Conway drtomc@gmail.com My friends, love is better than anger. Hope is better than fear. Optimism is better than despair. So let us be loving, hopeful and optimistic. And we'll change the world. - Jack Layton
Tool:
Invocation:
Error: