From 58ad7ad7e6d3a21e8e5dcf128b61e31b347a76a4 Mon Sep 17 00:00:00 2001 From: Regis Thedin Date: Fri, 7 Jul 2023 10:16:07 -0600 Subject: [PATCH] FF: Add helpful progress messages --- pyFAST/fastfarm/FASTFarmCaseCreation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyFAST/fastfarm/FASTFarmCaseCreation.py b/pyFAST/fastfarm/FASTFarmCaseCreation.py index d983952..a93ebee 100644 --- a/pyFAST/fastfarm/FASTFarmCaseCreation.py +++ b/pyFAST/fastfarm/FASTFarmCaseCreation.py @@ -2115,6 +2115,7 @@ def FF_check_output(self): ff_run_failed = False for cond in range(self.nConditions): for case in range(self.nCases): + if self.verbose>1: print(f'Checking {self.condDirList[cond]}, {self.caseDirList[case]}') for seed in range(self.nSeeds): # Let's check the last line of the logfile fflog_path = os.path.join(self.path, self.condDirList[cond], self.caseDirList[case], f'Seed_{seed}', f'log.fastfarm.seed{seed}.txt') @@ -2132,6 +2133,8 @@ def FF_check_output(self): if ff_run_failed: print('') raise ValueError(f'Not all FAST.Farm runs were successful') + else: + print(f'All cases finished successfully.')