Skip to content

Commit

Permalink
FF: Add helpful progress messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rthedin committed Jul 7, 2023
1 parent aac727c commit 58ad7ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyFAST/fastfarm/FASTFarmCaseCreation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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.')



Expand Down

0 comments on commit 58ad7ad

Please sign in to comment.