Skip to content

Commit

Permalink
Fix interface to match previous one
Browse files Browse the repository at this point in the history
This is done so that romancal does not break when this
gets merged
  • Loading branch information
WilliamJamieson committed Nov 21, 2023
1 parent 194f72c commit 84f5803
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/stcal/ramp_fitting/ols_cas22_fit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""This module exists to keep the interfaces the same as before a refactoring."""
import warnings

from .ols_cas22 import fit_ramps as fit_ramps_casertano

__all__ = ["fit_ramps_casertano"]

warnings.warn(
"The module stcal.ramp_fitting.ols_cas22_fit is deprecated. "
"Please use stcal.ramp_fitting.ols_cas22 instead.",
DeprecationWarning,
stacklevel=2,
)

0 comments on commit 84f5803

Please sign in to comment.