From 3f1875bcea9aa8b0069045e2105fa931288d8102 Mon Sep 17 00:00:00 2001 From: Chang Ye Date: Fri, 28 Jul 2023 13:13:43 -0500 Subject: [PATCH] supoort relhome is curve --- Snakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Snakefile b/Snakefile index 132d123..a077d21 100644 --- a/Snakefile +++ b/Snakefile @@ -18,7 +18,9 @@ workdir: WORKDIR CALI = config.get("calibration_curves", "") -CALI = CALI if os.path.isabs(CALI) else os.path.relpath(CALI, WORKDIR) +CALI = ( + CALI if os.path.isabs(CALI) else os.path.relpath(os.path.expanduser(CALI), WORKDIR) +) REF = config["reference"] for k, v in REF.items():