Skip to content

Commit

Permalink
Add deprecation message to read_curated_calibs.read_all
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 26, 2022
1 parent 2c0aff5 commit 86efa49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/lsst/pipe/tasks/read_curated_calibs.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
__all__ = ["read_all"]

from lsst.meas.algorithms.simple_curve import Curve
from lsst.ip.isr import (Linearizer, CrosstalkCalib, Defects, BrighterFatterKernel, PhotodiodeCalib)

import os
import glob
import dateutil.parser
from deprecated.sphinx import deprecated


def read_one_chip(root, chip_name, chip_id):
Expand Down Expand Up @@ -90,6 +93,9 @@ def check_metadata(obj, valid_start, instrument, chip_id, filepath, data_name):
)


@deprecated(reason="Curated calibration ingest now handled by obs_base Instrument classes."
" Will be removed after v25.0.",
version="v25.0", category=FutureWarning)
def read_all(root, camera):
"""Read all data from the standard format at a particular root.
Expand Down

0 comments on commit 86efa49

Please sign in to comment.