From 8de512aaa6642aedcdd0d0d29eb42353cd14568d Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Mon, 7 Oct 2024 18:39:00 -0400 Subject: [PATCH] Snakefile: fix caching in fetch_epic (#78) --- Snakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Snakefile b/Snakefile index 54323284..9fbb633a 100644 --- a/Snakefile +++ b/Snakefile @@ -34,6 +34,9 @@ def get_remote_path(path): rule fetch_epic: output: filepath="EPIC/{PATH}" + params: + # wildcards are not included in hash for caching, we need to add them as params + PATH=lambda wildcards: wildcards.PATH cache: True retries: 3 shell: """