From ff70c6c3150d36bf103b76e752bb9f88fb12d0f0 Mon Sep 17 00:00:00 2001 From: Mark McIntyre Date: Mon, 3 May 2021 14:03:37 +0100 Subject: [PATCH] renaming parameter as requested by Denis --- Utils/BatchFFtoImage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utils/BatchFFtoImage.py b/Utils/BatchFFtoImage.py index c6f005e72..7d2776782 100644 --- a/Utils/BatchFFtoImage.py +++ b/Utils/BatchFFtoImage.py @@ -8,7 +8,7 @@ from RMS.Routines.Image import saveImage -def batchFFtoImage(dir_path, fmt, addtitle=False): +def batchFFtoImage(dir_path, fmt, add_timestamp=False): # Go through all files in the given folder for file_name in os.listdir(dir_path): @@ -28,7 +28,7 @@ def batchFFtoImage(dir_path, fmt, addtitle=False): print('Saving: ', img_file_name) # Save the maxpixel to disk - saveImage(os.path.join(dir_path, img_file_name), ff.maxpixel, addtitle) + saveImage(os.path.join(dir_path, img_file_name), ff.maxpixel, add_timestamp) if __name__ == "__main__":