From df01ad4a9bed11b4115f127801e6119587d17a84 Mon Sep 17 00:00:00 2001 From: akhanf Date: Fri, 23 Feb 2024 15:20:06 -0500 Subject: [PATCH] fix for tar inputs bug introduced when renaming rules --- workflow/rules/common.smk | 2 +- workflow/rules/import.smk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/rules/common.smk b/workflow/rules/common.smk index c2ced46..d342c44 100644 --- a/workflow/rules/common.smk +++ b/workflow/rules/common.smk @@ -56,7 +56,7 @@ def get_input_dataset(wildcards): elif tarfile.is_tarfile(dataset_path): # dataset was a tar file, so point to the extracted folder - return rules.get_dataset.output.ome_dir.format(**wildcards) + return rules.extract_dataset.output.ome_dir.format(**wildcards) else: print(f"unsupported input: {dataset_path}") diff --git a/workflow/rules/import.smk b/workflow/rules/import.smk index 50cc684..d2e32fd 100644 --- a/workflow/rules/import.smk +++ b/workflow/rules/import.smk @@ -24,7 +24,7 @@ rule extract_dataset: bids( root="logs", subject="{subject}", - datatype="get_dataset", + datatype="extract_dataset", sample="{sample}", acq="{acq}", desc="raw",