Snakemake version
9.11.2
Describe the bug
When attempting to pass an unwrapped function to params, I receive a
TypeError: '<function ...>' is not a callable object
Even when the function is callable.
The expected outcome is the error
unpack() is not allowed with params.
Minimal example
getparams = lambda wildcard, output: {"key": {output}}
rule paramsdictfail1:
output: "out.txt"
params: unpack(getparams)
shell: "echo '{params}' | tee out.txt"
Snakemake version
9.11.2
Describe the bug
When attempting to pass an
unwrapped function toparams, I receive aEven when the function is callable.
The expected outcome is the error
Minimal example