From 3036963b5465abf896564a7d42bb6b59afccaffd Mon Sep 17 00:00:00 2001 From: "lukas.gehrig" Date: Thu, 15 Feb 2024 07:28:03 +0100 Subject: [PATCH] bugfix kwargs quiet passing in detect-sources-in-images :seedling: --- karabo/sourcedetection/result.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/karabo/sourcedetection/result.py b/karabo/sourcedetection/result.py index 99c04cf8..4cce2431 100644 --- a/karabo/sourcedetection/result.py +++ b/karabo/sourcedetection/result.py @@ -176,11 +176,12 @@ def detect_sources_in_image( ) ) + quiet = not verbose try: detection = bdsf.process_image( input=image.path, beam=beam, - quiet=not verbose, + quiet=quiet, format="csv", **kwargs, ) @@ -502,7 +503,7 @@ def detect_sources_in_images( result = func( image=cutout, beam=beam, - quiet=not verbose, + verbose=verbose, **kwargs, ) results.append(result)