snakecharm icon indicating copy to clipboard operation
snakecharm copied to clipboard

Allow unpack in lambda-supporting sections, e.g. in params section

Open iromeo opened this issue 3 years ago • 0 comments

Seems is working:

shell.executable("bash")

def get_params(wildcards):
    return {'test': 'oo', 'norm': 'oo'} 

rule test: 
    output: "aa"
    params: unpack(get_params)
    shell:  "echo {params}"    


iromeo avatar Jul 26 '21 17:07 iromeo