Misformatting of lambda functions in threads:
(causing "Unexpected keyword wildcards in rule definition")
#208
Labels
bug
Something isn't working
Problem description
This is an issues that we encountered when working on MOF-Search.
Snakefmt seems to be unable to parse correctly lambda functions used in the
threads:
section of rule definitions, due to which it then introduces line breaks in a way that invalidates the original Snakefile.Example
Original Snakefile
Reformated Snakefile
If I run
snakefmt Snakefile
, I end up with the following Snakefile:Parsing errors
After which Snakemake fails with the following error:
And Snakefmt cannot be rerun either.
Version
The text was updated successfully, but these errors were encountered: