From f2d46e8346c7adb0c671ec400d829c845cd81977 Mon Sep 17 00:00:00 2001 From: Marvin Kastner Date: Sun, 26 May 2024 21:56:47 +0200 Subject: [PATCH] Add hint at the end of the demo script saying where it was from --- examples/Python_Script/demo_DEHAM_CTA.py | 1 + .../demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py | 1 + examples/Python_Script/demo_continental_gateway.py | 1 + examples/Python_Script/demo_poc.py | 1 + 4 files changed, 4 insertions(+) diff --git a/examples/Python_Script/demo_DEHAM_CTA.py b/examples/Python_Script/demo_DEHAM_CTA.py index 15d64e5..d4a4428 100644 --- a/examples/Python_Script/demo_DEHAM_CTA.py +++ b/examples/Python_Script/demo_DEHAM_CTA.py @@ -321,4 +321,5 @@ # Gracefully close everything database_chooser.close_current_connection() +logger.info(f"ConFlowGen {conflowgen.__version__} from {conflowgen.__file__} was used.") logger.info("Demo 'demo_DEHAM_CTA' finished successfully.") diff --git a/examples/Python_Script/demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py b/examples/Python_Script/demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py index 2587729..9a72999 100644 --- a/examples/Python_Script/demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py +++ b/examples/Python_Script/demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py @@ -325,4 +325,5 @@ # Gracefully close everything database_chooser.close_current_connection() +logger.info(f"ConFlowGen {conflowgen.__version__} from {conflowgen.__file__} was used.") logger.info("Demo 'demo_DEHAM_CTA_with_ramp_up_and_down_period' finished successfully.") diff --git a/examples/Python_Script/demo_continental_gateway.py b/examples/Python_Script/demo_continental_gateway.py index f269c0b..cf103c2 100644 --- a/examples/Python_Script/demo_continental_gateway.py +++ b/examples/Python_Script/demo_continental_gateway.py @@ -195,4 +195,5 @@ # Gracefully close everything database_chooser.close_current_connection() +logger.info(f"ConFlowGen {conflowgen.__version__} from {conflowgen.__file__} was used.") logger.info("Demo 'demo_continental_gateway' finished successfully.") diff --git a/examples/Python_Script/demo_poc.py b/examples/Python_Script/demo_poc.py index f326e3c..a352594 100644 --- a/examples/Python_Script/demo_poc.py +++ b/examples/Python_Script/demo_poc.py @@ -136,4 +136,5 @@ # Gracefully close everything database_chooser.close_current_connection() +logger.info(f"ConFlowGen {conflowgen.__version__} from {conflowgen.__file__} was used.") logger.info("Demo 'demo_poc' finished successfully.")