From 9d0a056a1d28f1d76ab24ce395bda813e464eeac Mon Sep 17 00:00:00 2001
From: Michael <m.langguth@fz-juelich.de>
Date: Thu, 15 Oct 2020 12:07:52 +0200
Subject: [PATCH] Bugfix in accessing target_file in call-method.

---
 video_prediction_tools/data_preprocess/process_netCDF_v2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/video_prediction_tools/data_preprocess/process_netCDF_v2.py b/video_prediction_tools/data_preprocess/process_netCDF_v2.py
index 6ac8c118..64e2acc3 100644
--- a/video_prediction_tools/data_preprocess/process_netCDF_v2.py
+++ b/video_prediction_tools/data_preprocess/process_netCDF_v2.py
@@ -45,7 +45,7 @@ class PreprocessNcToPkl():
        Process the necCDF files in the month_base folder, store the variables of the images into list, store temporal information to list and save them to pickle file 
        """
        if os.path.exists(self.target_file):
-         print(target_file," file exists in the directory ", self.target_dir)
+         print(self.target_file," file exists in the directory ", self.target_dir)
        else:
          print ("==========Processing files in directory {} =============== ".format(self.directory_to_process))
          self.get_images_list()
-- 
GitLab