Skip to content

Commit

Permalink
bugfix kwargs quiet passing in detect-sources-in-images 🌱
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas.gehrig committed Feb 15, 2024
1 parent 2530b2a commit 3036963
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions karabo/sourcedetection/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down Expand Up @@ -502,7 +503,7 @@ def detect_sources_in_images(
result = func(
image=cutout,
beam=beam,
quiet=not verbose,
verbose=verbose,
**kwargs,
)
results.append(result)
Expand Down

0 comments on commit 3036963

Please sign in to comment.