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 #180

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,4 +1,6 @@
.sconsign.dblite
.coverage*
_build.*
config.log
.sconf_temp
*.o
Expand Down
20 changes: 8 additions & 12 deletions python/lsst/analysis/tools/tasks/photometricCatalogMatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,13 @@ class PhotometricCatalogMatchTask(CatalogMatchTask):
_DefaultName = "analysisToolsPhotometricCatalogMatch"

def runQuantum(self, butlerQC, inputRefs, outputRefs):
"""Run the matching to the photometric reference
catalog.
"""Run the matching to the photometric reference catalog.

Parameters
----------
`butlerQC` : lsst.pipe.base.butlerQuantumContext.ButlerQuantumContext
`inputRefs` : lsst.pipe.base.connections.InputQuantizedConnection
`outputRefs` : lsst.pipe.base.connections.OutputQuantizedConnection

butlerQC : `lsst.pipe.base.QuantumContext`
inputRefs : `lsst.pipe.base.InputQuantizedConnection`
outputRefs : `lsst.pipe.base.OutputQuantizedConnection`
"""

inputs = butlerQC.get(inputRefs)
Expand Down Expand Up @@ -155,15 +153,13 @@ class PhotometricCatalogMatchVisitTask(PhotometricCatalogMatchTask):
_DefaultName = "analysisToolsPhotometricCatalogMatchVisit"

def runQuantum(self, butlerQC, inputRefs, outputRefs):
"""Run the matching to the photometric reference
catalog.
"""Run the matching to the photometric reference catalog.

Parameters
----------
`butlerQC` : lsst.pipe.base.butlerQuantumContext.ButlerQuantumContext
`inputRefs` : lsst.pipe.base.connections.InputQuantizedConnection
`outputRefs` : lsst.pipe.base.connections.OutputQuantizedConnection

butlerQC : `lsst.pipe.base.QuantumContext`
inputRefs : `lsst.pipe.base.InputQuantizedConnection`
outputRefs : `lsst.pipe.base.OutputQuantizedConnection`
"""

inputs = butlerQC.get(inputRefs)
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/analysis/tools/tasks/propertyMapTractAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

from lsst.daf.butler import DataCoordinate
from lsst.pex.config import Config, ConfigDictField, Field, ListField
from lsst.pipe.base import ButlerQuantumContext, InputQuantizedConnection, OutputQuantizedConnection
from lsst.pipe.base import InputQuantizedConnection, OutputQuantizedConnection, QuantumContext
from lsst.pipe.base import connectionTypes as ct
from lsst.skymap import BaseSkyMap

Expand Down Expand Up @@ -177,7 +177,7 @@ def parsePlotInfo(

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