From 8799c1ce84297460d7637aff94a188dab7f19463 Mon Sep 17 00:00:00 2001 From: Carles Tena Date: Fri, 30 Aug 2019 14:11:01 +0200 Subject: [PATCH] drop prints --- hermesv3_bu/tools/checker.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/hermesv3_bu/tools/checker.py b/hermesv3_bu/tools/checker.py index 07db83b..bb43017 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')) -- GitLab