Open alexpmagalhaes opened 7 months ago
Which snakemake version are you using? I think I may have forgotten to raise the minimum required snakemake version to 7.0: https://github.com/snakemake-workflows/cyrcular-calling/blob/ccd556ac3e007e1f5ffc039a9c2550b067c27dc3/workflow/Snakefile#L3
Hey,
So I got the same error when I used both versions, 6.15 and 7.32
Hm. Starting with a clean checkout of tag v2.0.0, when I perform a dry-run with snakemake 6.15.5, I get
Invalid argument for 'cache:' directive. Only True allowed. To deactivate caching, remove directive.
With snakemake 7.32.4, a dry-run does not result in any errors.
Basically, the template_engine
keyword was introduced in snakemake 7.0.0
:
https://github.com/snakemake/snakemake/pull/1412
So any version higher than that should not throw this error. Are you sure you had the correct version of snakemake present / activated when actually running snakemake?
And if the problem does persist, could you provide a little more context of what you did? So interesting things could be:
snakemake --version
give, right before you try running snakemake
?snakemake
?But these are just off the top of my head -- more info is usually more helpful... ;)
Hey,
I am trying to run your snakemake workflow and I am getting at error:
SyntaxError in line 42 of https://github.com/snakemake-workflows/cyrcular-calling/raw/v2.0.0/workflow/rules/datavzrd.smk: Unexpected keyword template_engine in rule definition (datavzrd.smk, line 42)
Can you help?