Skip to content

Commit

Permalink
BugFix: Rule dehuman is not defined in this workflow.
Browse files Browse the repository at this point in the history
- hasattr(rules, "dehuman"): doesn't work anymore
  • Loading branch information
DrYak committed Sep 6, 2023
1 parent 6b37cd4 commit ee97b7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ if config.output["dehumanized_raw_reads"]:
if config.output["upload"]:

include: "rules/publish.smk"


if config.output["dehumanized_raw_reads"] and config.output["upload"]:

# only if dehuman.smk and publish.smk are both included
ruleorder: dehuman > checksum
6 changes: 0 additions & 6 deletions workflow/rules/publish.smk
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,3 @@ rule checksum:


ruleorder: unfiltered_cram > checksum


if hasattr(rules, "dehuman"):

# only if dehuman.smk is included
ruleorder: dehuman > checksum

0 comments on commit ee97b7b

Please sign in to comment.