From 4237b43ae73b1c6f57ded3e526ffcca4cf4de139 Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Wed, 3 Aug 2016 10:21:53 +0200
Subject: [PATCH] prepost.Simulations: fixed bug in creating PBS zip-chunks

---
 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 4c6ae07e..ca4688b7 100755
--- a/wetb/prepost/Simulations.py
+++ b/wetb/prepost/Simulations.py
@@ -1322,7 +1322,7 @@ def create_chunks_htc_pbs(cases, sort_by_values=['[Windspeed]'], ppn=20,
     nodes = 1
     for ii, dfi in enumerate(df_iter):
         fname = make_zip_chunks(dfi, ii, sim_id, run_dir, model_zip)
-        make_pbs_chunks(df, ii, sim_id, run_dir, model_zip)
+        make_pbs_chunks(dfi, ii, sim_id, run_dir, model_zip)
         print(fname)
 
 
-- 
GitLab