Skip to content
Snippets Groups Projects
Commit 9d0a056a authored by Michael Langguth's avatar Michael Langguth
Browse files

Bugfix in accessing target_file in call-method.

parent 9724fd4b
Branches
Tags
No related merge requests found
Pipeline #48689 failed
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment