diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index 38950c017f6ac4a3e6f63cb51036b70fd17b06f2..4c0dac2141d388fff987deb0d1190ca040ed291e 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -790,6 +790,8 @@ class Population: colour = the colour to be used, usually this is 'yellow on black' as set in the ANSI_colours dict boxchar = the character used to make the box, '*' by default + + Note: handles tabs (\t) badly, do not use them! """ strlen = 0 strings = [] @@ -1726,9 +1728,10 @@ class Population: end_process_time = datetime.datetime.now() + # thread end message verbose_print( self._boxed( - "Process {} finished:\n\tgenerator started at {}, done at {} (total: {}s of which {}s interfacing with binary_c).\n\tRan {} systems with a total probability of {:g}.\n\tThis thread had {} failing systems with a total probability of {}\n\tSkipped a total of {} systems because they had 0 probability".format( + "Process {} finished:\ngenerator started at {}\ngenerator finished at {}\ntotal: {}s\nof which {}s with binary_c\nRan {} systems\nwith a total probability of {:g}\nThis thread had {} failing systems\nwith a total failed probability of {}\nSkipped a total of {} zero-probability systems\n".format( ID, start_process_time.isoformat(), end_process_time.isoformat(), @@ -1739,7 +1742,7 @@ class Population: self.grid_options["_failed_count"], self.grid_options["_failed_prob"], zero_prob_stars_skipped, - )), + ),colour="cyan on black"), self.grid_options["verbosity"], 1, )