Skip to content

Commit

Permalink
add slice count as param, triggers rerun on change
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-fred committed Jul 20, 2023
1 parent 9b77e55 commit 8139a5e
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 8139a5e

Please sign in to comment.