Skip to content

Commit

Permalink
renaming parameter as requested by Denis
Browse files Browse the repository at this point in the history
  • Loading branch information
markmac99 committed May 3, 2021
1 parent 21eea7c commit ff70c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Utils/BatchFFtoImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand All @@ -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__":
Expand Down

0 comments on commit ff70c6c

Please sign in to comment.