From 5d543d9c7ec3ff8bb61cdeef0ba60169f05571c3 Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 2 Oct 2024 10:09:47 -0400 Subject: [PATCH] fix bug in log message --- src/stcal/ramp_fitting/ramp_fit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stcal/ramp_fitting/ramp_fit.py b/src/stcal/ramp_fitting/ramp_fit.py index 24729753..050e538d 100755 --- a/src/stcal/ramp_fitting/ramp_fit.py +++ b/src/stcal/ramp_fitting/ramp_fit.py @@ -262,8 +262,8 @@ def ramp_fit_data( ngroups = ramp_data.data.shape[1] if algorithm.upper() == "LIKELY" and ngroups < likely_fit.LIKELY_MIN_NGROUPS: log.info("When selecting the LIKELY ramp fitting algorithm the" - " ngroups needs to be a minimum of {likely_fit.LIKELY_MIN_NGROUPS}," - " but ngroups = {ngroups}. Due to this, the ramp fitting algorithm" + f" ngroups needs to be a minimum of {likely_fit.LIKELY_MIN_NGROUPS}," + f" but ngroups = {ngroups}. Due to this, the ramp fitting algorithm" " is being changed to OLS_C") algorithm = "OLS_C"