Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
exclude: examples/solve-on-remote.ipynb

- repo: https://github.com/snakemake/snakefmt
rev: v0.11.3
rev: v2.0.1
hooks:
- id: snakefmt

Expand All @@ -47,7 +47,7 @@ repos:
# - black==23.12.1

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.0 # Check for the latest version
rev: v0.15.17 # Check for the latest version
hooks:
- id: ruff
args: ["--config=pyproject.toml", "--fix"]
Expand Down
6 changes: 3 additions & 3 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,14 @@ rule data_model:
# snakemake --rulegraph all | sed -n "/digraph/,\$p" | dot -Tpng -o repo_data/dag.jpg
# snakemake --dag -F | sed -n "/digraph/,\$p" | dot -Tpng -o repo_data/dag.jpg
rule dag:
message:
"Creating DAG of workflow."
output:
dot="repo_data/dag.dot",
jpg="repo_data/dag.jpg",
message:
"Creating DAG of workflow."
shell:
"""
snakemake --rulegraph all | sed -n "/digraph/,\$p" > {output.dot}
snakemake --rulegraph all | sed -n "/digraph/,\$p" >{output.dot}
dot -Tjpg -o {output.jpg} {output.dot}
"""

Expand Down
Loading