Skip to content

Commit

Permalink
added filegraph as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrunic committed Dec 5, 2024
1 parent 4041e12 commit bbe4024
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/snakemake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,22 @@ jobs:
run: |
micromamba run -n protein-runway pip install -r requirements.txt
- name: Generate workflow image artifact
- name: Generate dag image artifact
run: |
micromamba run -n protein-runway snakemake --dag 03_output/5vde_example.segmentation.tsv | micromamba run -n protein-runway dot -Tsvg > dag.svg
- uses: actions/upload-artifact@v4
with:
name: dependency-graph
name: dag-image
path: dag.svg

- name: Generate filegraph image artifact
run: |
micromamba run -n protein-runway snakemake --filegraph 03_output/5vde_example.segmentation.tsv | micromamba run -n protein-runway dot -Tsvg > dag.svg
- uses: actions/upload-artifact@v4
with:
name: filegraph-image
path: filegraph.svg

- name: Run snakemake
run: |
micromamba run -n protein-runway snakemake
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ vendor/*
blender/extension.zip
blender/extension/wheels/*

# DAG workflow
# Artifact workflow
dag.svg

filegraph.svg

0 comments on commit bbe4024

Please sign in to comment.