From 5691f7e7c8654f63caeb7ca9bcc5d05ee28ecfd6 Mon Sep 17 00:00:00 2001 From: pswain <peter.swain@ed.ac.uk> Date: Tue, 12 Dec 2023 11:10:55 +0000 Subject: [PATCH] update(pipeline): write version of Baby to log --- src/aliby/pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aliby/pipeline.py b/src/aliby/pipeline.py index 512c8a0..686bd15 100644 --- a/src/aliby/pipeline.py +++ b/src/aliby/pipeline.py @@ -305,9 +305,9 @@ class Pipeline(ProcessABC): pprint(config[step]) print() try: - print(f"Using Baby {baby.__version__}.\n") + logging.getLogger("aliby").info(f"Using Baby {baby.__version__}.") except AttributeError: - print("Using Baby - no version specified.\n") + logging.getLogger("aliby").info("Using original Baby.") # extract from configuration expt_id = config["general"]["id"] distributed = config["general"]["distributed"] -- GitLab