Skip to content

Commit

Permalink
WIP shift cattle-outbreak custom rule
Browse files Browse the repository at this point in the history
Allows config overlays to use custom-rules without needing to also add
the "cattle-flu.smk" entry.
  • Loading branch information
jameshadfield committed Dec 8, 2024
1 parent a519284 commit 9aeb7b8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 2 additions & 0 deletions h5n1-cattle-outbreak/Snakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include: "../Snakefile"

include: "cattle-flu.smk"

rule _all:
input: rules.all.input
File renamed without changes.
9 changes: 0 additions & 9 deletions h5n1-cattle-outbreak/config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# NOTE: The h5n1-cattle-outbreak builds use a specific rule-file (specified within this config)
# and that rule file may have some config-like parameters within it.
# If you are extending this workflow via a --configfile overlay you and you want to add
# your own custom rule you will need to include "rules/cattle-flu.smk" as an element in the
# list in your overlay, as lists are not merged when configs are combined.
custom_rules:
- "rules/cattle-flu.smk"


#### Parameters which define which builds to produce via this config ###
builds:
h5n1-cattle-outbreak: ''
Expand Down

0 comments on commit 9aeb7b8

Please sign in to comment.