From 871ad738d81e137995f717ccff13b3ad2a4102a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Fri, 21 Jan 2022 18:59:38 +0100 Subject: [PATCH] Add date and time to report headers --- src/Results.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Results.py b/src/Results.py index 2a6732f..beef6d1 100644 --- a/src/Results.py +++ b/src/Results.py @@ -146,7 +146,8 @@ class Report(BaseReport): self.header_line( f" Report {self.data['model']} ver. {self.data['version']}" f" with {self.data['folds']} Folds " - f"cross validation and {len(self.data['seeds'])} random seeds" + f"cross validation and {len(self.data['seeds'])} random seeds. " + f"{self.data['date']} {self.data['time']}" ) self.header_line(f" {self.data['title']}") self.header_line( @@ -274,7 +275,8 @@ class Excel(BaseReport): 0, f" Report {self.data['model']} ver. {self.data['version']}" f" with {self.data['folds']} Folds " - f"cross validation and {len(self.data['seeds'])} random seeds", + f"cross validation and {len(self.data['seeds'])} random seeds. ", + f"{self.data['date']} {self.data['time']}" header, ) self.sheet.write(