Skip to content

Commit

Permalink
Merge pull request #131 from nismod/bugfix/rerun_on_slice_count_change
Browse files Browse the repository at this point in the history
add slice count as param, triggers rerun on change
  • Loading branch information
thomas-fred authored Jul 20, 2023
2 parents e0a5f7d + 8139a5e commit d3878eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions workflow/rules/preprocess/create_bbox_extracts.smk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ rule create_bbox_extracts:
conda: "../../../environment.yml"
input:
"{OUTPUT_DIR}/json/{DATASET}.json",
params:
# include slice_count as a param (despite not using elsewhere in the
# rule) to trigger re-runs on change to this configuration option
slice_count = config["slice_count"]
output:
# double curly braces allow us to expand but keep wildcards!
expand(
Expand Down

0 comments on commit d3878eb

Please sign in to comment.