From e79603468f8e9b641bb14892e1b33a89aba701ec Mon Sep 17 00:00:00 2001 From: kedhammar Date: Wed, 8 Jan 2025 12:43:20 +0100 Subject: [PATCH] test exit 0 message --- scilifelab_epps/wrapper.py | 1 + scripts/fetch_last_known_field.py | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scilifelab_epps/wrapper.py b/scilifelab_epps/wrapper.py index 5380fbee..dade9c03 100644 --- a/scilifelab_epps/wrapper.py +++ b/scilifelab_epps/wrapper.py @@ -97,6 +97,7 @@ def epp_wrapper(args): ) sys.exit(2) else: + print("Test print") sys.exit(0) return epp_wrapper diff --git a/scripts/fetch_last_known_field.py b/scripts/fetch_last_known_field.py index ecb796e1..a687c6f1 100644 --- a/scripts/fetch_last_known_field.py +++ b/scripts/fetch_last_known_field.py @@ -90,9 +90,10 @@ def main(args): ) logging.info(f"Traceback:\n{traceback}") - logging.warning( - f"UDF '{target_udf}' pulled from steps: {' ,'.join(set(steps_used))}. Please double check the values." - ) + # Look into exit 0 with message + # - print + # - stderr + # - sys.exit("blabla") if __name__ == "__main__":