Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-38687: Remove deprecated ExposureIdInfo interfaces. #208

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 2 additions & 8 deletions python/lsst/ap/verify/testPipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,13 @@ def runQuantum(self, butlerQC, inputRefs, outputRefs):
outputs = self.run(**inputs)
butlerQC.put(outputs, outputRefs)

def run(self, exposure, exposureIdInfo=None, background=None, idGenerator=None):
def run(self, exposure, background=None, idGenerator=None):
"""Produce characterization outputs with no processing.

Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure to characterize.
exposureIdInfo : `lsst.obs.base.ExposureIdInfo`, optional
ID info for exposure. Deprecated in favor of ``idGenerator``, and
ignored if that is provided.
background : `lsst.afw.math.BackgroundList`, optional
Initial model of background already subtracted from exposure.
idGenerator : `lsst.meas.base.IdGenerator`, optional
Expand Down Expand Up @@ -236,17 +233,14 @@ def runQuantum(self, butlerQC, inputRefs, outputRefs):
outputs.matches = normalizedMatches
butlerQC.put(outputs, outputRefs)

def run(self, exposure, exposureIdInfo=None, background=None,
def run(self, exposure, background=None,
icSourceCat=None, idGenerator=None):
"""Produce calibration outputs with no processing.

Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure to calibrate.
exposureIdInfo : `lsst.obs.base.ExposureIdInfo`, optional
ID info for exposure. Deprecated in favor of ``idGenerator``, and
ignored if that is provided.
background : `lsst.afw.math.BackgroundList`, optional
Background model already subtracted from exposure.
icSourceCat : `lsst.afw.table.SourceCatalog`, optional
Expand Down