diff --git a/hermesv3_bu/tools/checker.py b/hermesv3_bu/tools/checker.py index 07db83ba8b281f6072c6633a5a90d2527cf99fb5..bb43017dd1e905916eea6ef5593fb9f786dc9f3c 100644 --- a/hermesv3_bu/tools/checker.py +++ b/hermesv3_bu/tools/checker.py @@ -15,12 +15,10 @@ def check_files(file_path_list, warning=False): for file_path in file_path_list: if not os.path.exists(file_path): files_not_found.append(file_path) - print('CHECKING') if len(files_not_found) > 0: error_message = "*ERROR* (Rank {0}) File/s not found:".format(MPI.COMM_WORLD.Get_rank()) for file_path in files_not_found: error_message += "\n\t{0}".format(file_path) - print('CHECKED') if warning: print(error_message.replace('ERROR', 'WARNING')) warn(error_message.replace('ERROR', 'WARNING'))