From 6fb2553bd65ad6ade9a5de48c1cd246cc06998e9 Mon Sep 17 00:00:00 2001
From: Michael <m.langguth@fz-juelich.de>
Date: Fri, 12 Feb 2021 20:32:10 +0100
Subject: [PATCH] removal of syntax error in main_preprocess_data_step1.py .

---
 .../main_scripts/main_preprocess_data_step1.py                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/video_prediction_tools/main_scripts/main_preprocess_data_step1.py b/video_prediction_tools/main_scripts/main_preprocess_data_step1.py
index 5d33c23c..20d1496e 100755
--- a/video_prediction_tools/main_scripts/main_preprocess_data_step1.py
+++ b/video_prediction_tools/main_scripts/main_preprocess_data_step1.py
@@ -101,7 +101,7 @@ def main():
         md = MetaData(suffix_indir=destination_dir, exp_id=exp_id, data_filename=data_files_list[0], slices=slices,\
                       variables=vars)
 
-        elif md.status == "old":        # meta-data file already exists and is ok
+        if md.status == "old":        # meta-data file already exists and is ok
                                         # check for temp.json in working directory (required by slave nodes)
             tmp_file = os.path.join(current_path, "temp.json")
             if os.path.isfile(tmp_file):
-- 
GitLab