From 5357d680d26108ac42034ed7553ad0c2ecc33395 Mon Sep 17 00:00:00 2001 From: johannes Date: Mon, 5 Feb 2018 11:33:20 +0100 Subject: [PATCH] print "skipping files" information to console --- Tools/ecl_ekf/batch_process_logdata_ekf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/ecl_ekf/batch_process_logdata_ekf.py b/Tools/ecl_ekf/batch_process_logdata_ekf.py index 4dbe2baf88..1136aafc89 100755 --- a/Tools/ecl_ekf/batch_process_logdata_ekf.py +++ b/Tools/ecl_ekf/batch_process_logdata_ekf.py @@ -4,7 +4,7 @@ import argparse import os, glob """ -Runs process_logdata_ekf.py on the .ulg files in the supplied directory. ulg files are skipped from the analysis, if a +Runs process_logdata_ekf.py on the .ulg files in the supplied directory. ulog files are skipped from the analysis, if a corresponding .pdf file already exists (unless the overwrite flag was set). """ @@ -32,6 +32,7 @@ ulog_files = glob.glob(os.path.join(ulog_directory, '*.ulg')) # remove the files already analysed unless the overwrite flag was specified. A ulog file is consired to be analysed if # a corresponding .pdf file exists.' if not args.overwrite: + print("skipping already analysed ulg files.") ulog_files = [ulog_file for ulog_file in ulog_files if not os.path.exists('{}.pdf'.format(ulog_file))] # analyse all ulog files