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 5, 2024
1 parent c4527b4 commit 5d543d9
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 5d543d9

Please sign in to comment.