From 83dcb25dc264bf3c7ee086dd5fe479d2c5857320 Mon Sep 17 00:00:00 2001 From: iamashwin99 <ashwin-kumar.karnad@mpsd.mpg.de> Date: Tue, 27 Jun 2023 13:34:26 +0200 Subject: [PATCH] log the execution of the initialising message --- src/mpsd_software_manager/mpsd_software.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mpsd_software_manager/mpsd_software.py b/src/mpsd_software_manager/mpsd_software.py index 694d9e5..9e06e8d 100755 --- a/src/mpsd_software_manager/mpsd_software.py +++ b/src/mpsd_software_manager/mpsd_software.py @@ -1106,7 +1106,13 @@ def initialize_environment(root_dir: Path) -> None: # create the init file init_file.touch() # note the execution in the execution summary log - # record_script_execution_summary() TODO + # create the log file and fill it with the headers + record_script_execution_summary(root_dir=root_dir) + # record the msg in the log file + record_script_execution_summary( + root_dir=root_dir, + msg=f"Initialising MPSD software instance at {os.getcwd()}.", + ) def main(): -- GitLab