Skip to content

Commit

Permalink
ingest: support custom_rules from config
Browse files Browse the repository at this point in the history
Follows the pathogen-repo-guide to allow users to define custom rules
in the config to extend or override the core ingest workflow.

This is needed to support the upcoming ingest tutorials which use
this repo as the example.
  • Loading branch information
joverlee521 committed Mar 4, 2024
1 parent cd95122 commit 286bebd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ingest/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,9 @@ if send_slack_notifications:
if config.get("trigger_rebuild", False):

include: "rules/trigger_rebuild.smk"


if "custom_rules" in config:
for rule_file in config["custom_rules"]:

include: rule_file

0 comments on commit 286bebd

Please sign in to comment.