diff --git a/wetb/prepost/Simulations.py b/wetb/prepost/Simulations.py index b2ccffdf089f4f1d5b38d1a53c5dd08c33129159..5bcfe6302f160d9a207359193e96bda7e526fb41 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)