Skip to content

Commit

Permalink
Added the 'sys' import that got deleted during a rebase. Also, update…
Browse files Browse the repository at this point in the history
…d the C extension switch to make sure the C extension runs for regression testing on Jenkins.
  • Loading branch information
kmacdonald-stsci committed Mar 15, 2024
1 parent 1490b86 commit a1da0bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/stcal/ramp_fitting/ols_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import time
import warnings
from multiprocessing import cpu_count
import sys

import numpy as np

Expand Down Expand Up @@ -660,8 +661,8 @@ def ols_ramp_fit_single(ramp_data, buffsize, save_opt, readnoise_2d, gain_2d, we
opt_info : tuple
The tuple of computed optional results arrays for fitting.
"""
use_c = False
# use_c = True
# use_c = False
use_c = True
# use_c = ramp_data.dbg_run_c_code
if use_c:
print(" ")
Expand Down

0 comments on commit a1da0bd

Please sign in to comment.