From 8139a5ec6cdf394cba7fc74dfa6ca1038154c80d Mon Sep 17 00:00:00 2001 From: Fred Thomas Date: Thu, 20 Jul 2023 16:37:03 +0100 Subject: [PATCH] add slice count as param, triggers rerun on change --- workflow/rules/preprocess/create_bbox_extracts.smk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workflow/rules/preprocess/create_bbox_extracts.smk b/workflow/rules/preprocess/create_bbox_extracts.smk index b2d74de5..28c21c99 100644 --- a/workflow/rules/preprocess/create_bbox_extracts.smk +++ b/workflow/rules/preprocess/create_bbox_extracts.smk @@ -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(