From 5096fa81ce5d7877540c0c3baa8f39defa7cc856 Mon Sep 17 00:00:00 2001 From: Wouter Date: Wed, 29 May 2024 16:51:32 +0200 Subject: [PATCH 1/2] fix[DEI-207]: wait for Enter when no input file given --- decoimpact/business/utils/command_line_utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/decoimpact/business/utils/command_line_utils.py b/decoimpact/business/utils/command_line_utils.py index 55f35571..2de42b0e 100644 --- a/decoimpact/business/utils/command_line_utils.py +++ b/decoimpact/business/utils/command_line_utils.py @@ -62,7 +62,10 @@ def read_command_line_arguments(): print("D-EcoImpact version:", version) sys.exit() else: - print("\nNo inputfile given. Exiting. \n") + print("\nNo inputfile given.\n") + print("===========================================") parser.print_help() + print("===========================================") + input("\nPlease provide an input.yaml file. Hit Enter to exit.\n") sys.exit() return input_path From 8fd81c3ccb71a340a8423c09099cb4f9b2156bb3 Mon Sep 17 00:00:00 2001 From: Wouter Date: Tue, 4 Jun 2024 10:06:31 +0200 Subject: [PATCH 2/2] update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ac89f180..fa603949 100644 --- a/README.md +++ b/README.md @@ -184,3 +184,4 @@ If you found D-Eco Impact useful for your study, please cite it as: Weeber, M., Elzinga, H., Schoonveld, W., Van de Vries, C., Klapwijk, M., Mischa, I., Rodriguez Aguilera, D., Farrag, M., Ye, Q., Markus, A., Van Oorschot, M., Saager, P., & Icke, J. (2024). D-Eco Impact (v0.3.0). Zenodo. https://doi.org/10.5281/zenodo.10941913 +