From 73c5e139ca22a4bba7113638aab8f680a8754bf4 Mon Sep 17 00:00:00 2001
From: Lene Wasskog <lene.wasskog@nibio.no>
Date: Fri, 21 Feb 2025 10:02:20 +0100
Subject: [PATCH] fix: Path error

---
 ADASMELIAE.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ADASMELIAE.py b/ADASMELIAE.py
index ba3fbbe..2521cc7 100755
--- a/ADASMELIAE.py
+++ b/ADASMELIAE.py
@@ -171,8 +171,8 @@ if __name__ == "__main__":
         sys.exit()
 
     # Ensure that output year dirs exist
-    result_tif_year_dir = f"{result_tif_base_dir}/{year}"
-    result_mapfile_year_dir = f"{result_mapfile_base_dir}/{year}"
+    result_tif_year_dir = f"{result_tif_base_dir}{year}"
+    result_mapfile_year_dir = f"{result_mapfile_base_dir}{year}"
     os.makedirs(result_tif_year_dir, exist_ok=True)
     os.makedirs(result_mapfile_year_dir, exist_ok=True)
 
-- 
GitLab