From 47f36205b7d3ab7016dfca3be57b3375eb43c9c4 Mon Sep 17 00:00:00 2001
From: "Mads M. Pedersen" <mmpe@dtu.dk>
Date: Fri, 4 Nov 2016 08:46:04 +0100
Subject: [PATCH] fixed part the error making problem

---
 wetb/prepost/Simulations.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wetb/prepost/Simulations.py b/wetb/prepost/Simulations.py
index b2ccffd..5bcfe63 100755
--- a/wetb/prepost/Simulations.py
+++ b/wetb/prepost/Simulations.py
@@ -1455,7 +1455,7 @@ class HtcMaster(object):
                 for root, dirs, files in os.walk(os.path.join(plocal, path)):
                     for file_name in files:
                         src = os.path.join(root, file_name)
-                        dst = root.replace(os.path.abspath(plocal),
+                        dst = os.path.abspath(root).replace(os.path.abspath(plocal),
                                            os.path.abspath(prun))
                         if not os.path.exists(dst):
                             os.makedirs(dst)
-- 
GitLab