You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snakemake version
8.0.1, also tested the main branch. Snakemake 7.32.4 does not have the bug.
Describe the bug
Passing an f-string to the shell command results in an error message similar to the following one:
SyntaxError in file /Users/tsnorri/snakemake-bug-test/Snakefile, line 7:
unterminated f-string literal (detected at line 7) (Snakefile, line 7)
Minimal example
rule all:
shell: f"echo 'test'"
Snakemake 8.0.1 accepts the input if the f-string is changed to a plain one.
Additional context
The second example on the page Snakefiles and Rules in Snakemake’s documentation demonstrates the use of an f-string with the shell command.
The text was updated successfully, but these errors were encountered:
### Description
fix#2586 for some cases do not considered in #2485
### QC
<!-- Make sure that you can tick the boxes below. -->
* [x] The PR contains a test case for the changes or the changes are
already covered by an existing test case.
* [ ] The documentation (`docs/`) is updated to reflect the changes or
this is not necessary (e.g. if the change does neither modify the
language nor the behavior or functionalities of Snakemake).
Snakemake version
8.0.1, also tested the main branch. Snakemake 7.32.4 does not have the bug.
Describe the bug
Passing an f-string to the shell command results in an error message similar to the following one:
Minimal example
Snakemake 8.0.1 accepts the input if the f-string is changed to a plain one.
Additional context
The second example on the page Snakefiles and Rules in Snakemake’s documentation demonstrates the use of an f-string with the shell command.
The text was updated successfully, but these errors were encountered: