Skip to content

Commit

Permalink
fix bug in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Nov 22, 2024
1 parent ab4ee6e commit 31cb793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stcal/ramp_fitting/ramp_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 31cb793

Please sign in to comment.