From ff03aa6713d5813ad8cc8a11ef08c6b8aad7d9bc Mon Sep 17 00:00:00 2001 From: Rolf Verberg Date: Thu, 10 Oct 2024 14:49:37 -0400 Subject: [PATCH] fix: error in return ConstructBaseline.construct_baseline Missing config when running non-interactively --- CHAP/common/processor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHAP/common/processor.py b/CHAP/common/processor.py index 4375c58..a6639db 100755 --- a/CHAP/common/processor.py +++ b/CHAP/common/processor.py @@ -737,7 +737,10 @@ def confirm(event): full_output=True) if not interactive and filename is None: - return baseline + config = { + 'tol': tol, 'lambda': lam, 'max_iter': max_iter, + 'num_iter': num_iter, 'error': error, 'mask': mask} + return baseline, config lambdas = [lam] weights = [w]