From 121549eca6d9d033a962c423253599cfc65f1eb9 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Thu, 20 Oct 2016 12:01:52 +0100 Subject: [PATCH] Corrected coloured text printing and message when using --geometry-fixed option. --- gprMax/gprMax.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gprMax/gprMax.py b/gprMax/gprMax.py index 85a9545e..3602889a 100644 --- a/gprMax/gprMax.py +++ b/gprMax/gprMax.py @@ -443,8 +443,8 @@ def run_model(args, modelrun, numbermodelruns, inputfile, usernamespace): # If geometry information to be reused between model runs else: - inputfilestr = '\nInput file not re-processed' - print(Fore.GREEN + '{} {}\n'.format(inputfilestr, '-' * (get_terminal_width() - 1 - len(inputfilestr)))) + inputfilestr = '\n--- Model {} of {}, input file (not re-processed, i.e. geometry fixed): {}'.format(modelrun, numbermodelruns, inputfile) + print(Fore.GREEN + '{} {}\n'.format(inputfilestr, '-' * (get_terminal_width() - 1 - len(inputfilestr))) + Style.RESET_ALL) # Clear arrays for field components G.initialise_field_arrays()