From 79b3b1baa5fb579fd5f8db33e00a74196a2ec2c2 Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Thu, 4 Aug 2016 09:09:36 +0200
Subject: [PATCH] prepost.Simulations: find -name does not take paths, do not
 exclude htc/pbs_in

---
 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 bcb9cb69..d42e8df2 100755
--- a/wetb/prepost/Simulations.py
+++ b/wetb/prepost/Simulations.py
@@ -1260,7 +1260,7 @@ def create_chunks_htc_pbs(cases, sort_by_values=['[Windspeed]'], ppn=20,
         pbs += 'pwd\n'
         pbs += 'echo "Results saved at sim_id directory:"\n'
         rpl = (os.path.join(pbs_in_base, '*'), os.path.join(htc_base, '*'))
-        pbs += 'find -not -iname "%s" -not -iname "%s"\n' % rpl
+        pbs += 'find \n'
 
         # compress all result files into an archive
         pbs += '\necho "move results into compressed archive"\n'
-- 
GitLab