From 3b61c6cfcdd48531448d8d172dcd2bce5c056629 Mon Sep 17 00:00:00 2001
From: Christopher Spinrath <christopher.spinrath@univ-grenoble-alpes.fr>
Date: Fri, 24 Jan 2025 00:12:07 +0100
Subject: [PATCH] Extend leading ~ to the user's home directory in work-dir
 specs

---
 run-exp.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-exp.py b/run-exp.py
index 1645874..72cda43 100755
--- a/run-exp.py
+++ b/run-exp.py
@@ -109,7 +109,7 @@ class Task:
         parameters = data.get("parameters", [])
 
         if "work-dir" in data:
-            work_dir = pathlib.Path(data["work-dir"])
+            work_dir = pathlib.Path(data["work-dir"]).expanduser()
         else:
             work_dir = pathlib.Path.cwd()
 
-- 
GitLab