Skip to content
Permalink
Browse files
fix: fixed detection of norun rules inside of modules (#1566)
  • Loading branch information
johanneskoester committed Apr 5, 2022
1 parent fef74d6 commit d2223d41dfba057ab735395eac8339c27866c2ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
@@ -955,11 +955,12 @@ def end(self):
)
yield "\n"

# yield with block
yield from self._with_block
if self._with_block:
# yield with block
yield from self._with_block

yield "@workflow.run"
yield "\n"
yield "@workflow.run"
yield "\n"

rulename = self.rules[0]
if rulename == "*":
@@ -5,8 +5,13 @@ def some_func():
return 15


rule all:
input:
"results/test.out"


rule a:
output:
"results/test.out"
shell:
"echo {config[test]} > {output}"
"echo {config[test]} > {output}"

0 comments on commit d2223d4

Please sign in to comment.