We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for a really nice tool.
I have noticed an edge case, nested if statements are losing their indention level. Perhaps related to #40
Given
if config["a"] is None: include: "module_a_none.smk" if config["b"] is None: include: "module_b.smk" else: include: "module_c.smk" else: include: "module_a.smk"
I get
Notice how the nested if and else are unindented, but the nested includes are at the correct indention level.
if
else
includes
# Name Version Build Channel black 19.10b0 py38_0 conda-forge python 3.8.6 h852b56e_0_cpython conda-forge snakefmt 0.2.3 py_0 bioconda
The text was updated successfully, but these errors were encountered:
Address snakemake#78
2b68d19
Nested if/else python code interleaved with snakemake keywords were losing indentation. Add a fix, with unit test.
5c83057
Address #78
a8b4a3d
ba1c979
This should be fixed in v0.2.4 now @jfear . Let us know if you still have issues.
Sorry, something went wrong.
bricoletc
No branches or pull requests
Thanks for a really nice tool.
I have noticed an edge case, nested if statements are losing their indention level. Perhaps related to #40
Given
I get
Notice how the nested
if
andelse
are unindented, but the nestedincludes
are at the correct indention level.The text was updated successfully, but these errors were encountered: