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-40150: Replace ButlerQuantumContext with QuantumContext #41

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.sconsign.dblite
config.log
.sconf_temp
.coverage*
_build.*
*.o
*.os
*.so
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/drp/tasks/assemble_coadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def _makeSupplementaryData(self, butlerQC, inputRefs, outputRefs):

Parameters
----------
butlerQC : `~lsst.pipe.base.ButlerQuantumContext`
butlerQC : `~lsst.pipe.base.QuantumContext`
Gen3 Butler object for fetching additional data products before
running the Task specialized for quantum being processed.
inputRefs : `~lsst.pipe.base.InputQuantizedConnection`
Expand Down
8 changes: 4 additions & 4 deletions python/lsst/drp/tasks/update_visit_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
from lsst.geom import Angle, Box2I, SpherePoint, degrees
from lsst.pex.config import ChoiceField, ConfigurableField
from lsst.pipe.base import (
ButlerQuantumContext,
InputQuantizedConnection,
InvalidQuantumError,
OutputQuantizedConnection,
PipelineTask,
PipelineTaskConfig,
PipelineTaskConnections,
QuantumContext,
Struct,
)
from lsst.pipe.tasks.computeExposureSummaryStats import ComputeExposureSummaryStatsTask
Expand Down Expand Up @@ -148,15 +148,15 @@ class PerTractInput(PossiblyMultipleInput):
@classmethod
def load(
cls,
butler: ButlerQuantumContext | Butler,
butler: QuantumContext | Butler,
sky_map: BaseSkyMap,
refs: Iterable[DatasetRef],
) -> PerTractInput:
"""Load and wrap input catalogs.

Parameters
----------
butler : `lsst.pipe.base.ButlerQuantumContext`
butler : `lsst.pipe.base.QuantumContext`
Butler proxy used in `~lsst.pipe.base.PipelineTask.runQuantum`.
sky_map : `lsst.skymap.BaseSkyMap`
Definition of tracts and patches.
Expand Down Expand Up @@ -521,7 +521,7 @@ def __init__(self, *, initInputs: dict[str, Any] | None = None, **kwargs: Any):

def runQuantum(
self,
butlerQC: ButlerQuantumContext,
butlerQC: QuantumContext,
inputRefs: InputQuantizedConnection,
outputRefs: OutputQuantizedConnection,
) -> None:
Expand Down