From 2564d37b1350dc99705e52c9fa2cc708456f35dc Mon Sep 17 00:00:00 2001
From: Michael <m.langguth@fz-juelich.de>
Date: Fri, 5 Feb 2021 21:28:14 +0100
Subject: [PATCH] Add destination_dir to list of batch variables in
 config_preprocess_step2.py.

---
 .../config_runscripts/config_preprocess_step2.py              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/video_prediction_tools/config_runscripts/config_preprocess_step2.py b/video_prediction_tools/config_runscripts/config_preprocess_step2.py
index d56503a6..9ed2443f 100644
--- a/video_prediction_tools/config_runscripts/config_preprocess_step2.py
+++ b/video_prediction_tools/config_runscripts/config_preprocess_step2.py
@@ -28,7 +28,7 @@ class Config_Preprocess2(Config_runscript_base):
         self.destination_dir = None
         self.sequence_length = None  # only needed for ERA5
         # list of variables to be written to runscript
-        self.list_batch_vars = ["VIRT_ENV_NAME", "source_dir"]     # appended for ERA5 dataset
+        self.list_batch_vars = ["VIRT_ENV_NAME", "source_dir", "destination_dir"]     # appended for ERA5 dataset
         # copy over method for keyboard interaction
         self.run_config = Config_Preprocess2.run_preprocess2
     #
@@ -142,4 +142,4 @@ class Config_Preprocess2(Config_runscript_base):
         return status
 #
 # -----------------------------------------------------------------------------------
-#
\ No newline at end of file
+#
-- 
GitLab