lightning-auriga / snakemake_unit_tests

Candidate supplement to snakemake --generate-unit-tests with more compatible use cases and flexibility.
MIT License
0 stars 1 forks source link

make tests compatible with default_target directive #42

Closed lightning-auriga closed 2 years ago

lightning-auriga commented 2 years ago

snakemake 6.15.0 added the ability to flag a rule with default_target: True to override the default rule being the first rule encountered in snakefile processing. see documentation. this functionality did not exist when the project was first created. need to check and see if the dummy target that is injected into the snakefiles will peacefully coexist with this functionality.

lightning-auriga commented 2 years ago

my guess is that the rule_block parser should detect this as a named block entry. it should be possible to create an exclusion list of forbidden block names (at this point with only one member) and use that list to filter blocks from reporting to file. simple and clean.

lightning-auriga commented 2 years ago

handled in #46 now in dev